xmobar: add gaps also probably changed a bunch of things. i think i'll remove gaps afterwards, but now why not add them.
la-ninpre leobrekalini@gmail.com
Tue, 21 Jun 2022 13:55:09 +0300
1 files changed,
15 insertions(+),
12 deletions(-)
jump to
M
xmobar/.config/xmobar/xmobar.hs
→
xmobar/.config/xmobar/xmobar.hs
@@ -4,7 +4,7 @@ data Separator = Sep deriving (Read, Show)
instance Exec Separator where alias Sep = "s" - run Sep = return "<fc=#223333>|</fc>" + run Sep = return " <fc=#223333>|</fc> " config :: Config config = defaultConfig@@ -18,7 +18,10 @@ , "xft:linja pona:pixelsize=22:antialias=true:hinting=true"
] , bgColor = "#111111" , fgColor = "#ccbbcc" - , position = TopSize C 100 24 + , border = FullB + , borderWidth = 1 + , borderColor = "#223333" + , position = Static { xpos = 8, ypos = 8, width = 1920-8*2, height = 24 } , lowerOnStart = True , hideOnStart = False , persistent = True@@ -107,16 +110,16 @@ , alignSep = "}{"
-- ... }{ <fc=#ceced2><fn=2></fn> ... -- normie -- ... }{ <fc=#ceced2><fn=3> linu</fn> ... -- sitelen pona pona by jackhumbert -- ... }{ <fc=#ceced2><fn=3> [_L_IN_U]</fn> ... -- linja pona - , template = " <icon=la_ninpre.xpm/>\ - \%UnsafeXMonadLog% }{ \ - \<fn=3>\xe674 [LINU]</fn> %kern% %s% \ - \%uptime% %s% \ - \%cpu% %s% \ - \%memory% %s% \ - \%disku% %s% \ - \%kbd% %s% \ - \%date% %s% \ - \%wg0% %s%" + , template = " <action=`dmenu_run`><icon=la_ninpre.xpm/></action>\ + \%UnsafeXMonadLog%}{\ + \<fn=3>\xe674 [LINU]</fn> %kern%%s%\ + \%uptime%%s%\ + \<action=`alacritty -e htop`>%cpu%</action>%s%\ + \<action=`alacritty -e htop`>%memory%</action>%s%\ + \%disku%%s%\ + \%kbd%%s%\ + \<action=`uxnemu ~/roms/clock.rom`>%date%</action>%s%\ + \%wg0%%s%" } main :: IO ()