diff options
| author | ryukamish <[email protected]> | 2026-06-08 12:25:29 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-06-08 12:25:29 +0530 |
| commit | fd322ade4d50ff0eab695648d69edc5cb2abd1b2 (patch) | |
| tree | 43bbeff5d3c49bd23b1ed0a862d6e441f0bdd18e /.config/waybar | |
| parent | fcd1c4bac7bc3c17124331ced6702d5bf72e71fa (diff) | |
add: vpn module for waybar
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config.jsonc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index dab8552..b10f9f9 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -84,12 +84,12 @@ "on-click": "kitty --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", + "format": "VPN: <span color='#aaaaaa'>{}</span>", + "exec": "~/.local/bin/waybar-vpn status", + // "exec": "echo '{\"class\": \"connected\"}'", + // "exec-if": "test -d /proc/sys/net/ipv4/conf/proton0", "return-type": "json", - "interval": 5 - }, + "interval": 30 + } } |
