From a087888316d9cc9d0bfd3e590a58470a2be278f4 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sun, 5 Dec 2021 13:46:21 -0600 Subject: [PATCH] Adding modular colorschemes to Xmonad. --- .xmonad/README.org | 16 ++++++++-------- .xmonad/xmonad.hs | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.xmonad/README.org b/.xmonad/README.org index 1f6e338..1ee38c6 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -117,7 +117,7 @@ import XMonad.Util.SpawnOnce -- SolarizedDark -- SolarizedLight -- TomorrowNight -import Colors.DoomOne +import Colors.SolarizedLight #+END_SRC * Variables @@ -162,14 +162,14 @@ These are commands we want XMonad to execute on startup, such as running a compo #+BEGIN_SRC haskell myStartupHook :: X () myStartupHook = do - spawnOnce "lxsession &" - spawnOnce "picom &" - spawnOnce "nm-applet &" - spawnOnce "volumeicon &" - spawnOnce "conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc" - 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 "lxsession" + spawnOnce "picom" + spawnOnce "nm-applet" + spawnOnce "volumeicon" + spawnOnce "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient 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 #+BEGIN_SRC haskell diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 2219bf0..0d0fd3b 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -78,7 +78,7 @@ import XMonad.Util.SpawnOnce -- SolarizedDark -- SolarizedLight -- TomorrowNight -import Colors.DoomOne +import Colors.SolarizedLight myFont :: String 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 = do - spawnOnce "lxsession &" - spawnOnce "picom &" - spawnOnce "nm-applet &" - spawnOnce "volumeicon &" - spawnOnce "conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc" - 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 "lxsession" + spawnOnce "picom" + spawnOnce "nm-applet" + spawnOnce "volumeicon" + spawnOnce "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient 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 "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper