makke xmobar fancy

This commit is contained in:
qvalentin 2021-10-30 14:52:24 +02:00
parent 2e1bd2e9c6
commit aa8caa69ca
8 changed files with 109 additions and 38 deletions

View file

@ -1,12 +1,16 @@
Config { overrideRedirect = False
, font = "xft:Roboto Mono for Powerline:size=11"
, bgColor = "#0C0C0F"
, fgColor = "#ccdee5"
, font = "xft:FiraCode Nerd Font:size=11",
additionalFonts = [ "xft:FiraCode Nerd Font:bold:pixelsize=19:antialias=true:hinting=true"
, "xft:FiraCode Nerd Font:bold:pixelsize=25:antialias=true:hinting=true"
, "xft:FiraCode Nerd Font:bold:pixelsize=20:antialias=true:hinting=true" ]
, bgColor = "#0d141b"
, fgColor = "#c4c1df"
, position = TopW L 100
, iconRoot = ".config/xmobar/xpm/"
, commands = [Run Cpu
[ "-L", "3"
, "-H", "50"
[ "--template", "<total>%"
,"-w", "2"
] 10
, Run Alsa "default" "Master"
[ "--template", "<volumestatus>"
@ -14,12 +18,16 @@ Config { overrideRedirect = False
, "--"
, "--on", ""
]
, Run Memory ["--template", "Mem: <usedratio>%"] 10
, Run Date "%a %Y-%m-%d <fc=#8EB7CF>%H:%M</fc>" "date" 10
, Run Memory ["--template", "<used>"] 10
, Run Date "%a %Y-%m-%d<fn=2><fc=#0d141b,#2C546F:0></fc></fn><fc=#6D89C1,#0d141b:0>%H:%M</fc>" "date" 10
, Run XMonadLog
, Run Com "get_music_info" [] "" 10
]
, sepChar = "%"
, alignSep = "}{"
, template = " <icon=haskell_20.xpm/> %XMonadLog% }{ %get_music_info% | %alsa:default:Master% | %cpu% | %memory% | %date% "
}
, template = " <icon=haskell_20.xpm/> %XMonadLog% }{\
\<fn=2><fc=#2C546F,#0d141b:0></fc></fn><fc=#c4c1df,#2C546F:0>%get_music_info%</fc>\
\<fn=2><fc=#0d141b,#2C546F:0></fc></fn><fc=#c4c1df,#0d141b:0><fn=1><fc=#2C546F> </fc></fn>%alsa:default:Master%</fc>\
\<fn=2><fc=#2C546F,#0d141b:0></fc></fn><fc=#c4c1df,#2C546F:0><fn=1><fc=#0d141b,#2C546F:0>﬙ </fc></fn>%cpu%</fc>\
\<fn=2><fc=#0d141b,#2C546F:0></fc></fn><fc=#c4c1df,#0d141b:0><fn=1><fc=#2C546F> </fc></fn>%memory%</fc>\
\<fn=2><fc=#2C546F,#0d141b:0></fc></fn><fc=#c4c1df,#2C546F:0>%date%</fc>"