diff --git a/.xmonad/README.org b/.xmonad/README.org index 1c9b5e2..6049bff 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -557,7 +557,7 @@ myKeys = -- Set wallpaper with 'feh'. Type 'SUPER+F1' to launch sxiv in the wallpapers directory. -- Then in sxiv, type 'C-x w' to set the wallpaper that you choose. , ("M-", spawn "sxiv -r -q -t -o ~/wallpapers/*") - , ("M-", spawn "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch") + , ("M-", spawn "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch") --, ("M-", spawn "feh --randomize --bg-fill ~/wallpapers/*") -- Controls for mocp music player (SUPER-u followed by a key) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 8b51901..ee012e5 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -447,7 +447,7 @@ myKeys = -- Set wallpaper with 'feh'. Type 'SUPER+F1' to launch sxiv in the wallpapers directory. -- Then in sxiv, type 'C-x w' to set the wallpaper that you choose. , ("M-", spawn "sxiv -r -q -t -o ~/wallpapers/*") - , ("M-", spawn "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch") + , ("M-", spawn "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch") --, ("M-", spawn "feh --randomize --bg-fill ~/wallpapers/*") -- Controls for mocp music player (SUPER-u followed by a key)