diff options
| -rw-r--r-- | modules/home/christian.nix | 5 | ||||
| -rw-r--r-- | modules/xmonad.hs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/home/christian.nix b/modules/home/christian.nix index bcbb9c2..7d436fc 100644 --- a/modules/home/christian.nix +++ b/modules/home/christian.nix @@ -102,7 +102,8 @@ , fgColor = "grey" , position = TopH 30 , commands = - [ Run Cpu ["-t", "cpu: <fc=#4eb4fa><bar> <total>%</fc>"] 10 + [ Run XMonadLog + , Run Cpu ["-t", "cpu: <fc=#4eb4fa><bar> <total>%</fc>"] 10 , Run Network "wlan0" ["-S", "True", "-t", "wlan: <fc=#4eb4fa><rx></fc>/<fc=#4eb4fa><tx></fc>"] 10 , Run Memory ["-t","mem: <fc=#4eb4fa><usedbar> <usedratio>%</fc>"] 10 , Run Date "date: <fc=#4eb4fa>%a %d %b %Y %I:%M:%S %p </fc>" "date" 10 @@ -119,7 +120,7 @@ ] , sepChar = "%" , alignSep = "}{" - , template = " ${lib.optionalString config.custom.xmobarBattery "%battery% | "}%cpu% | %memory% | %wlan0% }{%date% " + , template = " %XMonadLog% | ${lib.optionalString config.custom.xmobarBattery "%battery% | "}%cpu% | %memory% | %wlan0% }{%date% " } ''; }; diff --git a/modules/xmonad.hs b/modules/xmonad.hs index 79dbbba..6f88748 100644 --- a/modules/xmonad.hs +++ b/modules/xmonad.hs @@ -26,7 +26,7 @@ myConfig = defaultConfig [ ( (mod1Mask, xK_q), restart "xmonad" True ) , ( (mod1Mask, xK_f), sendMessage ToggleStruts ) ] -mySB = statusBarProp "xmobar" (pure xmobarPP) +mySB = statusBarProp "xmobar" (pure xmobarPP { ppTitle = const "" }) -- main = xmonad $ withEasySB mySB defToggleStrutsKey def main = getDirectories >>= launch (docks $ withSB mySB myConfig) |
