diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 36a05c9..6177f91 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -6,9 +6,15 @@ function hc() { herbstclient "$@" } +function random-wallpaper() { + ls -1d ~/pictures/wallpapers/3840x1080/* \ + ~/pictures/wallpapers/patterns/* \ + | shuf -n 1 +} + hc emit_hook reload -feh --bg-tile ~/pictures/wallpapers/footer_lodyas.png +feh --bg-tile "$(random-wallpaper)" # remove all existing keybindings hc keyunbind --all