Add a 13 pt additional font and use it for the weather icon only, so the rest of the bar and its height are unchanged.
55 lines
3.7 KiB
Plaintext
55 lines
3.7 KiB
Plaintext
Config { overrideRedirect = True
|
|
, lowerOnStart = True
|
|
, font = "Jetbrains Mono Nerd Font Bold 10"
|
|
, additionalFonts = ["Jetbrains Mono Nerd Font Bold 13"]
|
|
, bgColor = "#24283b"
|
|
, fgColor = "#737aa2"
|
|
, position = TopH 24
|
|
, border = NoBorder
|
|
, borderColor = "#24283b"
|
|
, allDesktops = True
|
|
, pickBroadest = True
|
|
, commands = [ Run Com "/home/fuxino/.config/xmobar/weather.sh" [] "weather" 9000
|
|
, Run MultiCpu
|
|
[ "--template" , "\xf4bc <total>%"
|
|
, "--Low" , "25"
|
|
, "--High" , "75"
|
|
, "--low" , "#50fa7b"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#ff5555"
|
|
] 10
|
|
, Run CoreTemp
|
|
[ "--template" , "<core0>°C"
|
|
, "--Low" , "70"
|
|
, "--High" , "90"
|
|
, "--low" , "#50fa7b"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#ff5555"
|
|
] 50
|
|
, Run Memory
|
|
[ "--template" , "\xefc5 <usedratio>%"
|
|
, "--Low" , "50"
|
|
, "--High" , "80"
|
|
, "--low" , "#50fa7b"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#ff5555"
|
|
] 50
|
|
, Run Kbd
|
|
[ ("it" , "<fc=#50fa7b>IT</fc>")
|
|
, ("us" , "<fc=#ffb86c>US</fc>")
|
|
, ("sk(qwerty)" , "<fc=#ff5555>SK</fc>")
|
|
]
|
|
, Run Date "\xf133 %a %d/%m <fc=#ff79c6>%H:%M</fc>" "date" 10
|
|
, Run XPropertyLog "_XMONAD_TRAYPAD"
|
|
, Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10
|
|
, Run Com "/home/fuxino/.config/xmobar/ens_brief.sh" [] "ens_brief" 18000
|
|
, Run Com "/home/fuxino/.config/xmobar/updates.sh" [] "updates" 600
|
|
, Run Com "/home/fuxino/.config/xmobar/backup.sh" [] "backup" 3600
|
|
, Run Com "/home/fuxino/.config/xmobar/calcurse.sh" [] "calcurse" 600
|
|
, Run UnsafeXMonadLog
|
|
]
|
|
, sepChar = "%"
|
|
, alignSep = "}{"
|
|
, template = " | %UnsafeXMonadLog% } %multicpu% %coretemp% | %memory% | <action=`/home/fuxino/.config/xmobar/kbd_cycle.sh` button=1><action=`/home/fuxino/.config/xmobar/kbd_cycle.sh prev` button=3> %kbd%</action></action> { <action=`/home/fuxino/.config/xmobar/calcurse.sh list` button=1><action=`xdotool key super+shift+a` button=3>%calcurse%</action></action><action=`/home/fuxino/.config/xmobar/backup.sh list`>%backup%</action><action=`/home/fuxino/.config/xmobar/updates.sh list`>%updates%</action><action=`/home/fuxino/.config/xmobar/weather.sh notify`>%weather%</action> <fc=#565f89>·</fc> <action=`/home/fuxino/.config/xmobar/ens_brief.sh week`>%ens_brief%</action> | <action=`pactl set-sink-mute @DEFAULT_SINK@ toggle` button=1>%pactl_volume%</action> | %date% %_XMONAD_TRAYPAD% "
|
|
}
|