aboutsummaryrefslogtreecommitdiff
path: root/wallpicker
diff options
context:
space:
mode:
authorjoott <josh@ottmail.me>2025-07-31 09:46:45 -0400
committerjoott <josh@ottmail.me>2025-07-31 09:46:45 -0400
commit83aac504915a78d49ef01133940de7065e7747a9 (patch)
tree3256d8de032893bf57b29aae8d27610c81b08d1d /wallpicker
parent4550ce81de4ba6c11529c84e2c66224971251a89 (diff)
downloadbin-83aac504915a78d49ef01133940de7065e7747a9.tar.gz
bin-83aac504915a78d49ef01133940de7065e7747a9.zip
initial scripts
Diffstat (limited to 'wallpicker')
-rwxr-xr-xwallpicker14
1 files changed, 14 insertions, 0 deletions
diff --git a/wallpicker b/wallpicker
new file mode 100755
index 0000000..c28c149
--- /dev/null
+++ b/wallpicker
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+FOLDER=~/Pictures/wallpapers
+
+CHOICE=$(swayimg -a wallpicker --gallery $FOLDER)
+
+case $CHOICE in
+ *.*) wallust run $CHOICE ;;
+ *) exit 0 ;;
+esac
+
+swaymsg reload
+killall dunst
+notify-send "Updated wallpaper and colorscheme."