compositor: Also configure work dock network module in waybar

This commit is contained in:
Charlotte Van Petegem 2024-01-23 15:28:37 +01:00
parent b7b209f785
commit 64cabad389
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -218,7 +218,7 @@ in
spacing = 2;
modules-left = [ "river/tags" ];
modules-center = [ "river/window" ];
modules-right = [ "idle_inhibitor" "network" "battery" "backlight" "mpris" "pulseaudio" "custom/mail-status" "clock" "tray" ];
modules-right = [ "idle_inhibitor" "network#wlp0s20f3" "network#enp0s13f0u2u2" "battery" "backlight" "mpris" "pulseaudio" "custom/mail-status" "clock" "tray" ];
backlight = {
format = "{percent}% {icon}";
format-icons = [ "🌑" "🌒" "🌓" "🌔" "🌕" ];
@ -260,7 +260,7 @@ in
stopped = "";
};
};
"network" = {
"network#wlp0s20f3" = {
interface = "wlp0s20f3";
format-wifi = "{essid} ";
format-ethernet = "{ipaddr}/{cidr} ";
@ -269,6 +269,15 @@ in
format-disconnected = "";
format-alt = "{ifname}: {ipaddr}/{cidr}";
};
"network#enp0s13f0u2u2" = {
interface = "enp0s13f0u2u2";
format-wifi = "{essid} ";
format-ethernet = "{ipaddr}/{cidr} ";
tooltip-format = "{ifname} via {gwaddr} ";
format-linked = "{ifname} (No IP) ";
format-disconnected = "";
format-alt = "{ifname}: {ipaddr}/{cidr}";
};
pulseaudio = {
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";