nirish

config files for niri window manager
Log | Files | Refs | README | LICENSE

commit 4d33ae8d39aaf33b53d24aae528d2cfa61412ae4
parent 682aef5bd59225a29147c735fdfd2b739029080f
Author: ryukamish <[email protected]>
Date:   Mon, 27 Apr 2026 15:18:54 +0530

add: cpu, temp and custom vpn module

Diffstat:
Mwaybar/config.jsonc | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git 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",