diff --git a/apps/waybar/waybar.conf b/apps/waybar/waybar.conf index bb765e5..6966e02 100644 --- a/apps/waybar/waybar.conf +++ b/apps/waybar/waybar.conf @@ -24,8 +24,7 @@ "disk", "cpu", "memory", - "custom/wireguard", - "network", + "group/connections", "pulseaudio", "backlight", "battery", @@ -78,7 +77,7 @@ "custom/wireguard": { "interval": 1, - "format": " {} ", + "format": "{}", "exec": "$HOME/.dotfiles/apps/wireguard/wireguard.sh status", "on-click": "$HOME/.dotfiles/apps/wireguard/wireguard.sh switch" }, @@ -118,8 +117,15 @@ }, "network": { + "tooltip": false, + "format-wifi": "󰣶 ", + "format-ethernet": "󰱓 ", + "on-click": "alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh" + }, + + "network#full": { "tooltip": true, - "format-wifi": "󰣶 {essid}({signalStrength}%)", + "format-wifi": "{essid}({signalStrength}%)", "format-ethernet": "󰱓 ", "tooltip-format-wifi": "SSID: {essid}\nSignal Strength: {signalStrength}%\nIP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}", "tooltip-format-ethernet": "IP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}", @@ -145,5 +151,19 @@ "tray": { "icon-size": 13, "spacing": 10 - } + }, + + "group/connections": { + "orientation": "horizontal", + "drawer": { + "transition-duration": 500, + "children-class": "network", + "transition-left-to-right": true + }, + "modules": [ + "network", + "custom/wireguard", + "network#full", + ] + }, }