blob: b9535c62d47d8262d0f97ff1ae2f659ea3bea424 (
plain)
1
2
3
4
5
6
7
8
9
10
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>"
|