My build of nnn with minor changes
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

17 wiersze
526 B

  1. #!/usr/bin/env sh
  2. # Description: Set the selected image as wallpaper using pywal and change the terminal color schemes. Just put the cursor on a image and run the script.
  3. #
  4. # Shell: POSIX Compliant
  5. # Author: juacq97
  6. if ! [ -z "$1" ]; then
  7. if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then
  8. wal -i $1
  9. # If you want a system notification, uncomment the next 3 lines.
  10. # notify-send -a "nnn" "Wallpaper changed!"
  11. # else
  12. # notify-send -a "nnn" "No image selected"
  13. fi
  14. fi