aboutsummaryrefslogtreecommitdiff
path: root/.config/openbox/wallpaper.sh
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2023-09-02 15:39:58 -0400
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2023-09-02 15:39:58 -0400
commit99470bda884aa47b7660576396bb912bf3ecf7aa (patch)
tree6283f64d7156fbfd8bfb18ec2a33861f41516aac /.config/openbox/wallpaper.sh
parent60f7bde7e10af2727e86faa3e027c1de43617161 (diff)
add move configsHEADmain
Diffstat (limited to '.config/openbox/wallpaper.sh')
-rwxr-xr-x.config/openbox/wallpaper.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/openbox/wallpaper.sh b/.config/openbox/wallpaper.sh
new file mode 100755
index 0000000..b9535c6
--- /dev/null
+++ b/.config/openbox/wallpaper.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+echo "<openbox_pipe_menu>"
+for i in $HOME/.wallpapers/*; do
+ BASE="$(basename "$i")"
+ NAME_ONLY="${BASE%.*}"
+ echo "<item label=\"$NAME_ONLY\">"
+ echo "<action name=\"Execute\"><execute>feh --bg-scale $HOME/.wallpapers/$BASE</execute></action>"
+ echo "</item>"
+done
+echo "</openbox_pipe_menu>"