summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
blob: 6382e907ffc692845f871779f411ce74e80e323f (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
{
  "layer": "top",
  "position": "bottom",
  "spacing": 0,
  "margin-bottom": 0,
  "modules-left": [
      "custom/machi_W",
      "custom/machi_P",
      "custom/machi_F",
      "custom/machi_T"
  ],
  "modules-center": [
  ],
  "modules-right": [
    "network#wifi",
    "network#vpn",
    "pulseaudio",
    "backlight",
    "battery",
    "temperature",
    "clock",
    "tray",
  ],
  "custom/machi_W": {
    "exec": "machi_status W"
  },
  "custom/machi_P": {
    "exec": "machi_status P"
  },
  "custom/machi_F": {
    "exec": "machi_status F"
  },
  "custom/machi_T": {
    "exec": "machi_status T",
  },
  "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",
    "tooltip": false,
  },
  "backlight": {
    "format": "L{percent}%",
    "format-icons": ["\ue39b", "\ue3c8", "\ue3ca", "\ue3cd", "\ue3ce", "\ue3cf", "\ue3d1", "\ue3d3", "\ue38d"],
    "tooltip": false
  },
  "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": "V-",
    "format": "V+",
    "tooltip-format": "VPN UP",
    "tooltip-format-disconnected": "VPN DOWN"
  },
  "network#wifi": {
    "interface": "wlp1s0",
    "format": "W-",
    "format-wifi": "W+",
    "tooltip-format": "{essid} @ {ifname}: {ipaddr}/{cidr}",
    "tooltip-format-disconnected": "WIFI DISCONNECTED"
  },
  "pulseaudio": {
    "scroll-step": 1,
    "format": "{volume}% {icon} ",
    "format-bluetooth": "{volume}% {icon} ",
    "format-bluetooth-muted": "🔇 {icon} ",
    "format-muted": "🔇",
    "format-source": "",
    "format-source-muted": "",
    "format-icons": {
      "headphone": "",
      "hands-free": "",
      "headset": "",
      "phone": "",
      "portable": "",
      "car": "",
      "default": ["", "", ""]
    },
    "on-click": "pavucontrol"
  }
}