summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
blob: 783167043004f52104799fd4c1e2a34bd8fc66f8 (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
{
  "layer": "top",
  "position": "bottom",
  "spacing": 0,
  "margin-bottom": 0,
  "modules-left": [
      "custom/machi"
  ],
  "modules-center": [
  ],
  "modules-right": [
    "network#vpn",
    "network#wifi",
    "pulseaudio",
    "backlight",
    "temperature",
    "battery",
    "clock",
    "tray",
  ],
  "custom/machi": {
    "exec": "machi_status"
  },
  "tray": {
    "icon-size": 32,
    "spacing": 10
  },
  "clock": {
    "format": "| {:%a %H:%M %d/%m/%Y}",
    "tooltip-format": "<tt><big>{calendar}</big></tt>",
  },
  "temperature": {
    "interval": 10,
    "hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
    "format": "| {temperatureC}°C",
  },
  "backlight": {
    "format": "| {icon} {percent}%",
    "format-icons": ["", "", "", "", "", "", "", "", ""]
  },
  "battery": {
    "interval": 10,
    "format": "| U{capacity}%",
    "format-plugged": "",
    "format-not-charging": "| N{capacity}%",
    "format-discharging": "| D{capacity}% {time}",
    "format-charging": "| C{capacity}% {time}",
    "format-time": "{H}h{M}m",
  },
  "network#vpn": {
    "interface": "wg0-mullvad",
    "format-disconnected": "| VPN ⚠",
    "format": "",
  },
  "network#wifi": {
    "interface": "wlp1s0",
    "format-wifi": "| {essid}",
    "tooltip-format": "{ifname}: {ipaddr}/{cidr}",
  },
  "pulseaudio": {
    "scroll-step": 1,
    "format": "| {volume}% {icon} {format_source} ",
    "format-bluetooth": "{volume}% {icon} {format_source}",
    "format-bluetooth-muted": " {icon} {format_source}",
    "format-muted": " {format_source}",
    "format-source": "",
    "format-source-muted": "",
    "format-icons": {
      "headphone": "",
      "hands-free": "",
      "headset": "",
      "phone": "",
      "portable": "",
      "car": "",
      "default": ["", "", ""]
    },
    "on-click": "pavucontrol"
  }
}