[waybar] feat: moved vpn and network details into a group
This commit is contained in:
parent
f75c32fcd5
commit
1da021775f
@ -24,8 +24,7 @@
|
||||
"disk",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/wireguard",
|
||||
"network",
|
||||
"group/connections",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
@ -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",
|
||||
]
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user