Commented the notify-send lines

This commit is contained in:
juacq97 2019-04-16 20:55:26 -06:00
parent 2261befa3f
commit 9a5bd47e4a
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# Description: Set the selected image as wallpaper using nitrogen. Just put the cursor on a image and run the script. # Description: Set the selected image as wallpaper using nitrogen. Just put the cursor on a image and run the script.
# #
# Shell: POSIX Compliant # Shell: POSIX Compliant
# Author: juacq97 # Author: juacq97
@ -8,8 +8,8 @@
if ! [ -z "$1" ]; then if ! [ -z "$1" ]; then
if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then
nitrogen --set-zoom-fill --save $1 nitrogen --set-zoom-fill --save $1
notify-send -a "nnn" "Wallpaper changed!" # notify-send -a "nnn" "Wallpaper changed!"
else else
notify-send -a "nnn" "You need to select a image" # notify-send -a "nnn" "You need to select a image"
fi fi
fi fi

View file

@ -8,8 +8,8 @@
if ! [ -z "$1" ]; then if ! [ -z "$1" ]; then
if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then
wal -i $1 wal -i $1
notify-send -a "nnn" "Wallpaper changed!" # notify-send -a "nnn" "Wallpaper changed!"
else else
notify-send -a "nnn" "You need to select a image" # notify-send -a "nnn" "You need to select a image"
fi fi
fi fi