Improved network module

IP показывается при наведении.
При нажатии открывается nmtui в foot.
This commit is contained in:
DIvan2000 2024-12-05 16:38:38 +04:00
parent 6bcc57999b
commit 64442063ec

9
config
View File

@ -63,13 +63,16 @@
}, },
"network": { "network": {
// "interface": "wlp2s0", // (Optional) To force the use of this interface // "interface": "wlp2s0", // (Optional) To force the use of this interface
"interval": 10,
"format-wifi": "{essid} ({signalStrength}%)  ", "format-wifi": "{essid} ({signalStrength}%)  ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}  ", "format-ethernet": "{ifname}  ",
"format-disconnected": "Disconnected ⚠ " "format-disconnected": "Disconnected ⚠ ",
"tooltip-format": "{ipaddr}/{cidr}",
"on-click": "hyprctl dispatch exec \"[float] foot -W 80x24 nmtui\""
}, },
"pulseaudio": { "pulseaudio": {
"scroll-step": 1, "scroll-step": 1,
"format": "{volume}% {icon}", "format": "{volume}% {icon} ",
"format-bluetooth": "{volume}% {icon} ", "format-bluetooth": "{volume}% {icon} ",
"format-muted": " ", "format-muted": " ",
"format-icons": { "format-icons": {