aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2022-06-21 13:55:09 +0300
committerla-ninpre <leobrekalini@gmail.com>2022-06-21 13:55:09 +0300
commit07efa2b2b0907ebaa3b2ad17645eeac5012e2f96 (patch)
tree41ffe375d1dd371c02c692d15e42e1d61a2e0e44
parent995132c01d23140846a93171fd4c42aa0645fd8a (diff)
downloaddotfiles-07efa2b2b0907ebaa3b2ad17645eeac5012e2f96.tar.gz
dotfiles-07efa2b2b0907ebaa3b2ad17645eeac5012e2f96.zip
xmobar: add gaps
also probably changed a bunch of things. i think i'll remove gaps afterwards, but now why not add them.
-rw-r--r--xmobar/.config/xmobar/xmobar.hs27
1 files changed, 15 insertions, 12 deletions
diff --git a/xmobar/.config/xmobar/xmobar.hs b/xmobar/.config/xmobar/xmobar.hs
index 45a00b5..e037dd2 100644
--- a/xmobar/.config/xmobar/xmobar.hs
+++ b/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 @@ config = defaultConfig
]
, 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 @@ config = defaultConfig
-- ... }{ <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 ()