aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-12-26 23:10:44 -0800
committerGravatar Tom Willemse2020-12-26 23:17:23 -0800
commite808adca0c37e99d426b8cbc41e717308eb2c1e1 (patch)
tree8a63680c4e0e0b5f81a5722998c065e938347ea9 /herbstluftwm
parent24b4948252b7ba278c03525c90946f624ba35181 (diff)
downloadnew-dotfiles-e808adca0c37e99d426b8cbc41e717308eb2c1e1.tar.gz
new-dotfiles-e808adca0c37e99d426b8cbc41e717308eb2c1e1.zip
Accept other extensions for wallpapers than just jpg
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart2
1 files changed, 1 insertions, 1 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index 6edbc5a..3f67ca2 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -36,7 +36,7 @@ hc emit_hook reload
## Background image:
# Set a random image as the desktop wallpaper.
-feh --bg-tile "${HOME}/pictures/wallpapers/$(hostname).jpg"
+feh --bg-tile "$(find ""${HOME}/pictures/wallpapers"" -name $(hostname)'.*')"
## Keybindings:
# Remove all existing keybindings so that when herbstluftwm is