aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart3
1 files changed, 2 insertions, 1 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index c0dce9f..086a70f 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -16,7 +16,8 @@ function random-wallpaper() {
local height=$(echo $rootinfo | grep 'Height:' | sed 's/.*Height: \([[:digit:]]\+\).*/\1/')
find ~/pictures/wallpaper -type f \
- -wholename "*/${width}x${height}/*" -o -wholename '*/patterns/*' \
+ \( -wholename "*/${width}x${height}/*" -o -wholename '*/patterns/*' \) \
+ -not -name '*.org' \
| shuf -n 1
}