summaryrefslogtreecommitdiff
path: root/desktop-wayland/.config/waybar/config.jsonc
blob: d3005a945c6bc3daa2047dbe959ed944792f8cde (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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
  "layer": "top",
  "position": "top",
  "height": 18,
  "modules-left": [
    "river/tags"
  ],
  "modules-center": ["river/window"],
  "modules-right": [
    "cpu",
    "temperature",
    "memory",
    "disk",
    "network#vpn",
    "network",
    "clock",
    "battery",
    "group/group-power",
    "tray"
  ],
  "idle_inhibitor": {
    "format": "{icon}",
    "format-icons": {
      "activated": "●",
      "deactivated": "◌"
    }
  },

  "river/tags": {
    "num-tags": 10,
    "tag-labels": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X"]
  },

  "cpu": {
    "interval": 1,
    "format": " {icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13} {usage:>2}%",
    "format-icons": [
      "<span color='#69ff94'>▁</span>", // green
      "<span color='#2aa9ff'>▂</span>", // blue
      "<span color='#f8f8f2'>▃</span>", // white
      "<span color='#f8f8f2'>▄</span>", // white
      "<span color='#ffffa5'>▅</span>", // yellow
      "<span color='#ffffa5'>▆</span>", // yellow
      "<span color='#ff9977'>▇</span>", // orange
      "<span color='#dd532e'>█</span>"  // red
    ]
  },

  "temperature": {
    "critical-threshold": 80,
    "format-critical": " {temperatureC}°C",
    "format": " {temperatureC}°C"
  },

  "memory": {
    "interval": 30,
    "format": " {}%",
    "tooltip-format": "{used:0.1f}G / {total:0.1f}G"
  },

  "disk": {
    "interval": 30,
    "format": "󰋊 / {}%",
    "path": "/"
  },

  "disk#external": {
    "interval": 30,
    "format": "󰋊 / {}%",
    "path": "/"
  },

  "battery": {
    "design-capacity": true,
    "states": {
      "good": 95,
      "warning": 30,
      "critical": 15
    },
    "format": "{capacity}% {icon}",
    "format-icons": ["", "", "", "", ""]
  },

  "network": {
    "format-wifi": " {signalStrength}%",
    "tooltip-format-wifi": "{essid}",
    "format-ethernet": "🖧  ↓{bandwidthDownBytes} ↑{bandwidthUpBytes}",
    "tooltip-format-ethernet": "{ifname}",
    "format-disconnected": "⚠ Disconnected"
  },

  "network#vpn": {
    "interface": "tun0",
    "format": "󰞇",
    "format-disconnected": "",
    "tooltip-format": "{ipaddr}",
    "max-length": 50
  },

  "pulseaudio": {
    "scroll-step": 1,
    "format": "{volume}% {icon}",
    "format-bluetooth": "{volume}% {icon}",
    "format-muted": "",
    "format-icons": {
      "headphones": "",
      "handsfree": "",
      "headset": "",
      "phone": "",
      "portable": "",
      "car": " ",
      "default": ["", ""]
    },
    "on-click": "pavucontrol"
  },

  "clock": {
    "interval": 60,
    "format": "󰸘 {:%a %b %d, %H:%M (%Z)}",
    "tooltip-format": "<tt><small>{calendar}</small></tt>",
    "timezones": [
      "America/Recife",
      "America/Austin",
      "America/Vancouver",
      "Pacific/Auckland",
      "Etc/UTC"
    ],
    "calendar": {
      "mode"          : "month",
      "weeks-pos"     : "right",
      "on-scroll"     : 1,
      "on-click-right": "mode",
      "format": {
        "months":     "<span color='#ffead3'><b>{}</b></span>",
        "days":       "<span color='#ecc6d9'><b>{}</b></span>",
        "weeks":      "<span color='#99ffdd'><b>W{}</b></span>",
        "weekdays":   "<span color='#ffcc66'><b>{}</b></span>",
        "today":      "<span color='#ff6699'><b><u>{}</u></b></span>"
      }
    },
    "actions": {
      "on-click": "tz_up",
      "on-click-right": "tz_down",
      "on-click-middle": "mode"
    }
  },

  "tray": {
    "icon-size": 21,
    "spacing": 10
  }
}