Adding modular colorschemes to Xmonad.

This commit is contained in:
Derek Taylor 2021-12-05 13:46:21 -06:00
parent d7efb4f22f
commit a087888316
2 changed files with 16 additions and 16 deletions

View File

@ -117,7 +117,7 @@ import XMonad.Util.SpawnOnce
-- SolarizedDark -- SolarizedDark
-- SolarizedLight -- SolarizedLight
-- TomorrowNight -- TomorrowNight
import Colors.DoomOne import Colors.SolarizedLight
#+END_SRC #+END_SRC
* Variables * Variables
@ -162,14 +162,14 @@ These are commands we want XMonad to execute on startup, such as running a compo
#+BEGIN_SRC haskell #+BEGIN_SRC haskell
myStartupHook :: X () myStartupHook :: X ()
myStartupHook = do myStartupHook = do
spawnOnce "lxsession &" spawnOnce "lxsession"
spawnOnce "picom &" spawnOnce "picom"
spawnOnce "nm-applet &" spawnOnce "nm-applet"
spawnOnce "volumeicon &" spawnOnce "volumeicon"
spawnOnce "conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc" spawnOnce "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient
spawnOnce ("trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 " ++ colorTrayer ++ " --height 22 &")
spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall" spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall"
spawnOnce ("conky -c $HOME/.config/conky/xmonad/" ++ colorScheme ++ "-01.conkyrc")
spawnOnce ("killall trayer || trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 " ++ colorTrayer ++ " --height 22")
#+END_SRC #+END_SRC
#+BEGIN_SRC haskell #+BEGIN_SRC haskell

View File

@ -78,7 +78,7 @@ import XMonad.Util.SpawnOnce
-- SolarizedDark -- SolarizedDark
-- SolarizedLight -- SolarizedLight
-- TomorrowNight -- TomorrowNight
import Colors.DoomOne import Colors.SolarizedLight
myFont :: String myFont :: String
myFont = "xft:SauceCodePro Nerd Font Mono:regular:size=9:antialias=true:hinting=true" myFont = "xft:SauceCodePro Nerd Font Mono:regular:size=9:antialias=true:hinting=true"
@ -113,14 +113,14 @@ windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace
myStartupHook :: X () myStartupHook :: X ()
myStartupHook = do myStartupHook = do
spawnOnce "lxsession &" spawnOnce "lxsession"
spawnOnce "picom &" spawnOnce "picom"
spawnOnce "nm-applet &" spawnOnce "nm-applet"
spawnOnce "volumeicon &" spawnOnce "volumeicon"
spawnOnce "conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc" spawnOnce "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient
spawnOnce ("trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 " ++ colorTrayer ++ " --height 22 &")
spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall" spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall"
spawnOnce ("conky -c $HOME/.config/conky/xmonad/" ++ colorScheme ++ "-01.conkyrc")
spawnOnce ("killall trayer || trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 " ++ colorTrayer ++ " --height 22")
-- 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