diff options
-rwxr-xr-x | setBG.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/setBG.sh b/setBG.sh new file mode 100755 index 0000000..b2bbae7 --- /dev/null +++ b/setBG.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# Sets an image as wallpaper and sends a confirmation notification. + +bgiconPath="/tmp/bgicon" +convert "$1" -resize 64x64 "$bgiconPath" +feh --bg-max "$1" && notify-send -t 3000 -i "$bgiconPath" "$1 set as background." |