Add network widget to waybar

This commit is contained in:
SebastianStork 2024-04-19 23:16:55 +02:00
parent d81fe4ef06
commit ace4b3c805

View file

@ -19,7 +19,7 @@
modules-left = ["clock"]; modules-left = ["clock"];
modules-center = ["hyprland/workspaces"]; modules-center = ["hyprland/workspaces"];
modules-right = ["tray" "wireplumber" "backlight" "battery"]; modules-right = ["tray" "network" "wireplumber" "backlight" "battery"];
"hyprland/workspaces" = { "hyprland/workspaces" = {
active-only = false; active-only = false;
@ -31,6 +31,21 @@
tooltip-format = "{:%d.%m.%Y}"; tooltip-format = "{:%d.%m.%Y}";
}; };
network = {
interval = 10;
format = "";
format-wifi = "{icon}";
format-icons = ["󰤟" "󰤢" "󰤥" "󰤨"];
tooltip-format-wifi = "{essid} 󰇚 {bandwidthDownBits} 󰕒 {bandwidthUpBits}";
format-ethernet = "󰌗";
tooltip-format-ethernet = "󰇚 {bandwidthDownBits} 󰕒 {bandwidthUpBits}";
format-disconnected = "󰪎";
tooltip-format-disconnected = "Disconnected";
};
wireplumber = { wireplumber = {
format = "{icon} {volume}%"; format = "{icon} {volume}%";
format-muted = "󰝟"; format-muted = "󰝟";