diff --git a/.xmonad/README.org b/.xmonad/README.org index 7099fdc..6049bff 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -162,7 +162,7 @@ myStartupHook = do Uncomment only ONE of the following options for setting wallpaper. #+BEGIN_SRC haskell spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper - -- spawnOnce "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper + -- spawnOnce "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper -- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper -- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper -- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh @@ -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 4f6337f..ee012e5 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -110,7 +110,7 @@ myStartupHook = do -- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper - -- spawnOnce "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper + -- spawnOnce "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper -- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper -- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper -- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh @@ -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)