summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-04-27 15:18:54 +0530
committerryukamish <[email protected]>2026-04-27 15:18:54 +0530
commit4d33ae8d39aaf33b53d24aae528d2cfa61412ae4 (patch)
tree9b22a38cf3319f5b2bcfdb49e417698c4351681a
parent682aef5bd59225a29147c735fdfd2b739029080f (diff)
add: cpu, temp and custom vpn module
-rw-r--r--waybar/config.jsonc20
1 files changed, 20 insertions, 0 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index a114ca4..14b05ea 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -13,7 +13,10 @@
"custom/screenrecording-indicator",
"tray",
"custom/brightness",
+ "cpu",
+ "temperature",
"network",
+ "custom/vpn",
"pulseaudio",
"bluetooth",
"battery"
@@ -26,6 +29,16 @@
"format": "{:%a, %b %d %H:%M}",
"tooltip": false
},
+ "cpu": {
+ "interval": 10,
+ "format": " {usage}%",
+ "max-length": 10
+ },
+ "temperature": {
+ "thermal-zone": 5,
+ "critical-threshold": 80,
+ "format": " {temperatureC}°C"
+ },
"battery": {
"states": {
"good": 95,
@@ -90,6 +103,13 @@
"on-click": "$TERMINAL --app-id TUI.float -e wifitui",
"on-click-right": "rfkill toggle wlan"
},
+ "custom/vpn": {
+ "format": " VPN",
+ "exec": "echo '{\"class\": \"connected\"}'",
+ "exec-if": "test -d /proc/sys/net/ipv4/conf/proton0",
+ "return-type": "json",
+ "interval": 5
+ },
"custom/workspaces": {
"exec": "~/.config/waybar/niri-workspaces",
"return-type": "json",