i think i get this now

This commit is contained in:
Sakooooo 2023-07-25 01:23:46 +03:00
parent b9e7c20013
commit 406abfd0c4
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 12 additions and 3 deletions

View file

@ -12,7 +12,7 @@ Config {
-- layout -- layout
, sepChar = "%" -- delineator between plugin names and straight text , sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment , alignSep = "}{" -- separator between left-right alignment
, template = "%StdinReader% | %battery% | %multicpu% | %memory% }{ %vol% | %date% | %kbd% %_XMONAD_TRAYPAD%" , template = "%XMonadLog% | %battery% | %multicpu% | %memory% }{ %vol% | %date% | %kbd% %_XMONAD_TRAYPAD%"
-- general behavior -- general behavior
, lowerOnStart = True -- send to bottom of window stack on start , lowerOnStart = True -- send to bottom of window stack on start
@ -51,7 +51,7 @@ Config {
, "--high" , "darkred" , "--high" , "darkred"
] 10 ] 10
-- workspaces -- workspaces
, Run StdinReader , Run XMonadLog
-- cpu activity monitor -- cpu activity monitor
, Run MultiCpu [ "--template" , "Cpu: <total0>%|<total1>%" , Run MultiCpu [ "--template" , "Cpu: <total0>%|<total1>%"

View file

@ -62,7 +62,7 @@ myModMask = mod4Mask
-- > workspaces = ["web", "irc", "code" ] ++ map show [4..9] -- > workspaces = ["web", "irc", "code" ] ++ map show [4..9]
-- --
-- myWorkspaces = ["1","2","3","4","5","6","7","8","9"] -- myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
myWorkspaces = ["web","irc","dev","4","5","6"] myWorkspaces = ["web","dev","irc","4","5","6"]
-- Border colors for unfocused and focused windows, respectively. -- Border colors for unfocused and focused windows, respectively.
-- --
@ -257,6 +257,15 @@ myLogHook h = dynamicLogWithPP $ def {
ppOrder = \(ws:_) -> [ws] ppOrder = \(ws:_) -> [ws]
} }
xmobarFormat = def {
ppCurrent = xmobarColor "black" "white"
ppOutput = hPutStrLn h,
ppExtras = [],
ppOrder = \(ws:_) -> [ws]
}
xmobarProp = statusBarProp "xmobar" (pure xmobarFormat)
------------------------------------------------------------------------ ------------------------------------------------------------------------
-- Startup hook -- Startup hook