aboutsummaryrefslogtreecommitdiff
path: root/xmonad/.config/xmobar/xmobarrc
blob: 42196c2b6099958f785b24b46b20bda23fa170e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Config {
  bgColor = "#181818"
  , fgColor = "#e4e4e4"
  , border      = BottomB
  , font        = "xft:Iosevka Comfy-12"
  , additionalFonts = ["Noto Color Emoji-12", "Iosevka Nerd Font"]
  , position    = TopH 22
  , commands = [
      -- Network activity monitor (dynamic interface resolution)
    Run Date "%Y-%m-%d (%a) %H:%M:%S" "mydate" 10
    -- Run Com "<terminal app/script>" [<app arguments>] <template identifier> <refreshrate>
    , Run Com "notmuch" ["count", "tag:unread"] "unread-mail" 100
    , Run Com "notmuch" ["count", "tag:inbox"] "inbox-mail" 100
    , Run Com "music-plain" [] "music" 50
    , Run Com "weather-plain" [] "weather" 100
    , Run StdinReader -- text coming from xmonad
    , Run DynNetwork [ "--template" , " :  <tx>kB/s  <rx>kB/s"
                             , "--Low"      , "1000"       -- units: B/s
                             , "--High"     , "5000"       -- units: B/s
                             , "--low"      , "#73c936"
                             , "--normal"   , "#ce5c00"
                             , "--high"     , "#ff4f58"
                             ] 10
    , Run ThermalZone 0 ["-t"," : <temp>C"] 30
    , Run MultiCpu       [ "--template" , "󰍛 : <total0>%|<total1>%"
                             , "--Low"      , "50"         -- units: %
                             , "--High"     , "85"         -- units: %
                             , "--low"      , "#73c936"
                             , "--normal"   , "#ce5c00"
                             , "--high"     , "#ff4f58"
                             ] 10
    ]
  , template = " %StdinReader% }{ <fc=#ffdd33>%weather%</fc> | <fc=#73c936> : </fc><fc=#729FCF>[U]</fc> %unread-mail% <fc=#95a99f>[I]</fc> %inbox-mail% | <fc=#96a6c8>%music%</fc> | %multicpu% | %thermal0% | %dynnetwork% | 󰃰: %mydate% "
}