mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Commented the notify-send lines
This commit is contained in:
parent
2261befa3f
commit
9a5bd47e4a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue