diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 77eeae6..78ee35f 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -15,6 +15,7 @@ "modules-right": [ // "hyprland/language", "sway/language", + "custom/vpn", "pulseaudio", "cpu", "memory", @@ -33,6 +34,11 @@ "interval": 600, "signal": "8" }, + "custom/vpn": { + "exec": "$HOME/Scripts/vpn_controls/check_vpn_status.sh", + "format": "VPN {text}", + "interval": 10 + }, "sway/workspaces": { "tooltip": false, "on-click": "activate", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index e5a6ba6..a7e8cca 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -44,6 +44,7 @@ window#waybar { #cpu, #memory, #custom-weather, +#custom-vpn, #language { border-bottom: 2px solid #7e9cd8; padding-top: 5px;