start work on xmobar config
This commit is contained in:
parent
3d277d9cce
commit
f7aec87025
5 changed files with 65 additions and 71 deletions
27
haskell/xmobar/xmobar.hs
Normal file
27
haskell/xmobar/xmobar.hs
Normal file
|
@ -0,0 +1,27 @@
|
|||
import Xmobar
|
||||
|
||||
config :: Config
|
||||
config =
|
||||
defaultConfig
|
||||
{ font = "FiraCode Nerd Font",
|
||||
allDesktops = True,
|
||||
alpha = 255,
|
||||
bgColor = "#282828",
|
||||
fgColor = "#ebdbb2",
|
||||
commands =
|
||||
-- [ Run XMonadLog,
|
||||
-- Run $ Memory ["t", "Mem: <usedratio>%"] 10,
|
||||
-- Run $ Kbd [],
|
||||
-- Run $ Date "%a %_d %b %Y <fc=#ee9a00>%H:%M:%S</fc>" "date" 10
|
||||
-- ],
|
||||
[ Run $ Memory ["t", "Mem: <usedratio>%"] 10,
|
||||
Run $ Kbd [],
|
||||
Run $ Date "%a %_d %b %Y <fc=#ee9a00>%H:%M:%S</fc>" "date" 10
|
||||
],
|
||||
template = "%kbd% | %date% | %memory%",
|
||||
alignSep = "}{",
|
||||
position = TopH 24
|
||||
}
|
||||
|
||||
main :: IO ()
|
||||
main = xmobar config -- or: configFromArgs config >>= xmobar
|
Loading…
Add table
Add a link
Reference in a new issue