mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 10:01:14 +10:00
Merge branch 'master' into 'master'
Edit to command that sets random wallpaper in XMonad See merge request dwt1/dotfiles!42
This commit is contained in:
+2
-2
@@ -162,7 +162,7 @@ myStartupHook = do
|
|||||||
Uncomment only ONE of the following options for setting wallpaper.
|
Uncomment only ONE of the following options for setting wallpaper.
|
||||||
#+BEGIN_SRC haskell
|
#+BEGIN_SRC haskell
|
||||||
spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper
|
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 "~/.fehbg &" -- set last saved feh wallpaper
|
||||||
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
||||||
-- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh
|
-- 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.
|
-- 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.
|
-- Then in sxiv, type 'C-x w' to set the wallpaper that you choose.
|
||||||
, ("M-<F1>", spawn "sxiv -r -q -t -o ~/wallpapers/*")
|
, ("M-<F1>", spawn "sxiv -r -q -t -o ~/wallpapers/*")
|
||||||
, ("M-<F2>", spawn "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch")
|
, ("M-<F2>", spawn "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch")
|
||||||
--, ("M-<F2>", spawn "feh --randomize --bg-fill ~/wallpapers/*")
|
--, ("M-<F2>", spawn "feh --randomize --bg-fill ~/wallpapers/*")
|
||||||
|
|
||||||
-- Controls for mocp music player (SUPER-u followed by a key)
|
-- Controls for mocp music player (SUPER-u followed by a key)
|
||||||
|
|||||||
+2
-2
@@ -110,7 +110,7 @@ myStartupHook = do
|
|||||||
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
||||||
|
|
||||||
spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper
|
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 "~/.fehbg &" -- set last saved feh wallpaper
|
||||||
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
||||||
-- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh
|
-- 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.
|
-- 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.
|
-- Then in sxiv, type 'C-x w' to set the wallpaper that you choose.
|
||||||
, ("M-<F1>", spawn "sxiv -r -q -t -o ~/wallpapers/*")
|
, ("M-<F1>", spawn "sxiv -r -q -t -o ~/wallpapers/*")
|
||||||
, ("M-<F2>", spawn "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch")
|
, ("M-<F2>", spawn "find ~/wallpapers/ -type f | shuf -n 1 | xargs xwallpaper --stretch")
|
||||||
--, ("M-<F2>", spawn "feh --randomize --bg-fill ~/wallpapers/*")
|
--, ("M-<F2>", spawn "feh --randomize --bg-fill ~/wallpapers/*")
|
||||||
|
|
||||||
-- Controls for mocp music player (SUPER-u followed by a key)
|
-- Controls for mocp music player (SUPER-u followed by a key)
|
||||||
|
|||||||
Reference in New Issue
Block a user