summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",