diff options
author | 2022-02-28 00:23:56 -0800 | |
---|---|---|
committer | 2022-02-28 00:23:56 -0800 | |
commit | 5323fc8b9eb526e942b13806457677a80da98925 (patch) | |
tree | d92dc6f5218daef36087609a1b97cbfb34665042 | |
parent | 629a644c398df438b19065996025ae3bf01f5e89 (diff) | |
download | new-dotfiles-5323fc8b9eb526e942b13806457677a80da98925.tar.gz new-dotfiles-5323fc8b9eb526e942b13806457677a80da98925.zip |
[herbstluftwm] Exclude any ‘.org’ files from wallpaper selection
-rwxr-xr-x | herbstluftwm/.config/herbstluftwm/autostart | 3 |
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 } |