[waybar] feat: moved vpn and network details into a group

This commit is contained in:
Simon Cornet 2024-06-04 15:26:53 +02:00
parent 1da021775f
commit bee30af0c7

View File

@ -34,7 +34,7 @@
// modules // modules
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{icon} {percent}% ", "format": "{icon} {percent}%",
"format-icons": [ "format-icons": [
"󰃞", "󰃞",
"󰃟", "󰃟",
@ -45,8 +45,8 @@
}, },
"battery": { "battery": {
"format": "{icon} ", "format": "{icon} ",
"format-full": "{icon} ", "format-full": "{icon} ",
"format-icons": [ "format-icons": [
"", "",
"", "",
@ -118,14 +118,14 @@
"network": { "network": {
"tooltip": false, "tooltip": false,
"format-wifi": "󰣶 ", "format-wifi": "󰣶 {signalStrength}%",
"format-ethernet": "󰱓 ", "format-ethernet": "󰱓 ",
"on-click": "alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh" "on-click": "alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh"
}, },
"network#full": { "network#full": {
"tooltip": true, "tooltip": true,
"format-wifi": "{essid}({signalStrength}%)", "format-wifi": "{essid}",
"format-ethernet": "󰱓 ", "format-ethernet": "󰱓 ",
"tooltip-format-wifi": "SSID: {essid}\nSignal Strength: {signalStrength}%\nIP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}", "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}", "tooltip-format-ethernet": "IP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}",
@ -133,7 +133,7 @@
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume:2}% ", "format": "{icon} {volume:2}%",
"format-muted": "󰖁 ", "format-muted": "󰖁 ",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",