aboutsummaryrefslogtreecommitdiff
path: root/wallpaper/setWP.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper/setWP.sh')
-rwxr-xr-xwallpaper/setWP.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/wallpaper/setWP.sh b/wallpaper/setWP.sh
new file mode 100755
index 0000000..6ff0a9d
--- /dev/null
+++ b/wallpaper/setWP.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Sets an image as wallpaper and sends a confirmation notification.
+
+wpPointer.sh "$1"
+
+#bgiconPath="/tmp/bgicon"
+#convert "$1" -resize 64x64 "$bgiconPath"
+#feh --bg-max "$1" && notify-send -t 3000 -i "$bgiconPath" "$1 set as background."
+#TODO: make notification optional and fix its icon