From 88d959b959e4e7e05755b7f340829e4241c625b8 Mon Sep 17 00:00:00 2001 From: awy Date: Wed, 14 Aug 2024 22:51:37 +0300 Subject: vpn --- .config/waybar/config | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.config/waybar/config') diff --git a/.config/waybar/config b/.config/waybar/config index cf404ff..c4dca4d 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,7 +5,7 @@ "reload_style_on_change": true, "modules-left": ["hyprland/workspaces","custom/separator","hyprland/window"], "modules-center": [], - "modules-right": ["custom/pacman", "custom/weather","memory","temperature", "custom/separator", "image", "pulseaudio","wireplumber", "custom/separator", "clock","tray"], + "modules-right": ["network", "custom/weather","memory", "custom/separator", "image", "pulseaudio","wireplumber", "custom/separator", "clock","tray"], "hyprland/window": { "format": "{}", @@ -36,9 +36,11 @@ }, }, "network": { + "interface": "wg0", "tooltip": false, - "interval": 5, - "format": "󰜮 {bandwidthDownBytes} 󰜷 {bandwidthUpBytes}", + "format": "VPN", + "format-disconnected": "VPN", + "on-click": "~/.config/waybar/scripts/vpn-toggle", }, "tray": { "spacing": 10 -- cgit v1.2.3