-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwaybar.jinja
126 lines (110 loc) · 2.46 KB
/
waybar.jinja
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
{
"layer": "top",
"position": "top",
"height": 28,
"modules-left": [
"hyprland/workspaces",
"idle_inhibitor",
"hyprland/submap",
],
"modules-center": [
"pulseaudio#mic",
"custom/ready",
],
"modules-right": [
"tray",
"custom/wallpaper",
"network",
"custom/psi-cpu",
"custom/psi-memory",
"custom/psi-io",
"temperature",
"pulseaudio",
{% if host == "colinchan-fedora" %}
"battery",
{% endif %}
"clock",
],
"battery": {
"states": {
"warning": 30,
"critical": 15,
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-icons": ["", "", "", "", ""],
"tooltip": false
},
"clock": {
"interval": 1,
"format": " {:%Y-%m-%d %H:%M}",
"format-alt": " {:%Y-%m-%d %H:%M:%S}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt>{calendar}</tt>",
},
"custom/psi-cpu": {
"interval": 2,
"return-type": "json",
"exec": "waybar-psi cpu",
},
"custom/psi-memory": {
"interval": 2,
"return-type": "json",
"exec": "waybar-psi memory",
},
"custom/psi-io": {
"interval": 2,
"return-type": "json",
"exec": "waybar-psi io",
},
"custom/ready": {
"exec": "waybar-ready",
"interval": 1,
"hide-empty-text": true,
},
"custom/wallpaper": {
"format": "",
"on-click": "systemctl --user start update-wallpaper",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"tooltip": false
},
"network": {
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ipaddr}/{cidr} ",
"format-linked": " (No IP) ",
"format-disconnected": " Disconnected ",
"tooltip": false
},
"pulseaudio": {
"format": " {volume}%",
"format-muted": " {volume}%",
"scroll-step": 5,
"tooltip": false
},
"pulseaudio#mic": {
"format": "{format_source}",
"format-source": "<span foreground=\"#069e98\">ON AIR</span>",
"format-source-muted": "<span foreground=\"#6f6f6b\">OFF AIR</span>",
"scroll-step": 0,
"on-click": "microphone toggle",
"tooltip": false
},
"hyprland/submap": {
},
"hyprland/workspaces": {
},
"temperature": {
"format": " {temperatureC}°C",
"critical-threshold": 80,
"thermal-zone": 0
},
"tray": {
"icon-size": 16,
"spacing": 16
}
}