aboutsummaryrefslogtreecommitdiff
path: root/extras/HOME/.xmobarrc
blob: 3367918c7579e1c64c8c4ab9f1899f2ac4da6c9b (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Config
  { font = "Monofur Nerd Font 14",
    additionalFonts =
      [ "Monofur NERD Font Bold 12",
        "Monofur NERD Font Bold 9",
        "Monofur NERD Font Bold 12", -- Media, Weather, etc.
        "Monofur NERD Font Bold 12",
        "Monofur NERD Font Bold 20",
        "Monofur NERD Font Bold 14",
        "Noto Sans Mono CJK JP Bold 14",
        "Monofur NERD Font Bold 14",
        "Monofur NERD Font Bold 5"
      ],
    borderColor = "black",
    border = FullBM -1,
    borderWidth = 2,
    bgColor = "#000000",
    fgColor = "white",
    alpha = 255, -- default: 255
    position = TopSize C 99 60,
    textOffset = -1, -- default: -1
    iconOffset = -1, -- default: -1
    lowerOnStart = True,
    pickBroadest = False, -- default: False
    persistent = True,
    hideOnStart = False,
    iconRoot = "/usr/local/google/home/rahm/.xmonad/resources", -- default: "."
    allDesktops = True, -- default: True
    overrideRedirect = False, -- default: True
    sepChar = "%",
    alignSep = "}{",
    template =
      " %logo% \
      \%UnsafeStdinReader%}{\
      \<fc=#404040>\
      \<fc=#888888>|</fc>\
      \ %wifi% \
      \<action=alacritty -t 'Floating Term' -e sh -c 'curl wttr.in ; read i'>\
      \ %weather%  \
      \</action>\
      \</fc><fc=#a0a0a0>%media%</fc>\
      \%bluetooth% %bat%<fn=3>  %cpu% %memory%<fc=#8888ff> %time%</fc></fn> ",
    commands =
      [ Run UnsafeStdinReader,
        Run Date "%m/%d %H:%M:%S" "time" 10,
        Run
          Cpu
          [ "-t",
            "<fn=9><fc=#202020><bar></fc></fn>",
            "-L",
            "3",
            "-H",
            "50",
            "-b",
            "▄",
            "-f",
            "▄",
            "-W",
            "20",
            "--normal",
            "#88ff88",
            "--high",
            "#ff8888"
          ]
          10,
        Run
          Memory
          [ "-t",
            "<fn=9><fc=#202020><usedbar></fc></fn>",
            "-L",
            "3",
            "-H",
            "50",
            "-b",
            "▄",
            "-f",
            "▄",
            "-W",
            "20",
            "--normal",
            "#88ff88",
            "--high",
            "#ff8888"
          ]
          10,
        Run Com ".xmonad/xmobar-media" [] "media" 20,
        Run Com ".xmonad/xmobar-weather" [] "weather" 9000,
        Run Com ".xmonad/xmobar-logo" [] "logo" 0,
        Run Com "uname" ["-r"] "uname" 0,
        Run Com ".xmonad/xmobar-bluetooth" [] "bluetooth" 50,
        Run Com ".xmonad/xmobar-wifi" [] "wifi" 50,
        Run Com ".xmonad/xmobar-battery" [] "bat" 20
      ]
  }