Files
dotfiles/.config/xmobar/xmobarrc_hdmi
T
Daniele Fucini b64ea797bf Make xmobar workspaces clickable
Clicking a workspace switches to it; one visible on the other screen is
swapped onto the focused screen. xmobar uses UnsafeXMonadLog so the
click actions are kept.
2026-10-10 19:39:04 +02:00

60 lines
3.2 KiB
Plaintext

Config { overrideRedirect = True
, lowerOnStart = True
, font = "Jetbrains Mono Nerd Font Bold 9"
, bgColor = "#24283b"
, fgColor = "#737aa2"
, position = Top
, border = NoBorder
, borderColor = "#24283b"
, allDesktops = True
, pickBroadest = True
, commands = [ Run Weather "LZIB"
[ "--template", "\xf2c9 <tempC>°C"
, "-L", "5"
, "-H", "25"
, "--low" , "#8be9fd"
, "--normal" , "#50fa7b"
, "--high" , "#ff5555"
] 9000
, Run MultiCpu
[ "--template" , "\xf4bc <total>%"
, "--Low" , "25"
, "--High" , "75"
, "--low" , "#50fa7b"
, "--normal" , "#ffb86c"
, "--high" , "#ff5555"
] 10
, Run CoreTemp
[ "--template" , "<core0>°C"
, "--Low" , "60"
, "--High" , "85"
, "--low" , "#50fa7b"
, "--normal" , "#ffb86c"
, "--high" , "#ff5555"
] 50
, Run Memory
[ "--template" , "\xefc5 <usedratio>%"
, "--Low" , "33"
, "--High" , "66"
, "--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 %Y-%m-%d <fc=#ff79c6>%H:%M</fc>" "date" 10
, Run Uptime
[ "--template" , "\xf017 <days>d <hours>h"
] 600
, 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 UnsafeXMonadLog
]
, sepChar = "%"
, alignSep = "}{"
, template = "  | %UnsafeXMonadLog% } %uptime% | %multicpu% %coretemp% | %memory% |  %kbd% { <action=`/home/fuxino/.config/xmobar/ens_brief.sh week`>%LZIB% <fc=#565f89>·</fc> %ens_brief%</action> | %pactl_volume% | %date% "
}