compositor: Also configure work dock network module in waybar
This commit is contained in:
parent
b7b209f785
commit
64cabad389
1 changed files with 11 additions and 2 deletions
|
@ -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}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue