]> Sergey Matveev's repositories - nnn.git/commitdiff
Commented the notify-send lines
authorjuacq97 <juacq97@gmail.com>
Wed, 17 Apr 2019 02:55:26 +0000 (20:55 -0600)
committerjuacq97 <juacq97@gmail.com>
Wed, 17 Apr 2019 02:55:26 +0000 (20:55 -0600)
user-scripts/nwal
user-scripts/pywal

index 110c3c6b3aac8001fb200d12877b54203fe03ee7..d3ced3c3277696a56a46e7f54f5c96bc99c4fc91 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
 # Author: juacq97
@@ -8,8 +8,8 @@
 if ! [ -z "$1" ]; then
     if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then
        nitrogen --set-zoom-fill --save $1
-       notify-send -a "nnn" "Wallpaper changed!"
+#      notify-send -a "nnn" "Wallpaper changed!"
     else
-       notify-send -a "nnn" "You need to select a image"
+#      notify-send -a "nnn" "You need to select a image"
     fi
 fi
index 3db52abb16f55edf0bafe54518904cf03900ab83..11719ac992114c5b8ca025c90c8c7e845fa8d062 100755 (executable)
@@ -8,8 +8,8 @@
 if ! [ -z "$1" ]; then
     if [ $(mimetype --output-format %m $1 | awk -F '/' '{print $1}') == "image" ]; then
        wal -i $1
-       notify-send -a "nnn" "Wallpaper changed!"
+#      notify-send -a "nnn" "Wallpaper changed!"
     else
-       notify-send -a "nnn" "You need to select a image"
+#      notify-send -a "nnn" "You need to select a image"
     fi
 fi