summaryrefslogtreecommitdiff
path: root/scripts/change_wallpaper
diff options
context:
space:
mode:
authorJake Koroman <jake@jakekoroman.com>2025-06-01 10:55:23 -0400
committerJake Koroman <jake@jakekoroman.com>2025-06-01 10:55:23 -0400
commit3b4590b1a745b06ce36cb558a4749923675e9b35 (patch)
tree532e9f00ae0b7fdeb3645f13b926e8a65b74f1ec /scripts/change_wallpaper
Ready. Set. Go!
Diffstat (limited to 'scripts/change_wallpaper')
-rwxr-xr-xscripts/change_wallpaper8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/change_wallpaper b/scripts/change_wallpaper
new file mode 100755
index 0000000..57895b3
--- /dev/null
+++ b/scripts/change_wallpaper
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+wallpaper=$(ls ~/pictures/wallpapers/ | dmenu -p "Wallpaper: " -i -l 16)
+
+cd ~/pictures
+rm -f wallpaper
+ln -s "wallpapers/$wallpaper" wallpaper
+xwallpaper --zoom ~/pictures/wallpaper &