Updated sway

main
Johannes Hendrik Gerard van der Weide 2024-02-06 18:43:25 +01:00
parent a8e038b095
commit 968251efb9
1 changed files with 13 additions and 3 deletions

View File

@ -76,12 +76,22 @@ in
tooltip-format = "<big>{:%d %B, %Y}</big>\n<tt><small>{calendar}</small></tt>"; tooltip-format = "<big>{:%d %B, %Y}</big>\n<tt><small>{calendar}</small></tt>";
}; };
modules-right = [ "network" "battery" ]; modules-right = [ "backlight" "pulseaudio" "network" "battery" ];
"backlight" = {
format = "L{percent}% ";
scroll-step = 1.0;
};
"pulseaudio" = {
format = "A{volume}% ";
format-muted = "Muted ";
on-scroll-up = "pamixer -i 1";
on-scroll-down = "pamixer -d 1";
};
"network" = { "network" = {
format-wifi = "W{signalStrength} "; format-wifi = "W{signalStrength} ";
format-ethernet = "E{signalStrength} "; format-ethernet = "E{signalStrength} ";
format-disconnected = "Offline"; format-disconnected = "Offline ";
tooltip-format = "{ifname}: {ipaddr}"; tooltip-format = "{ifname}: {ipaddr}";
tooltip-format-wifi = "{essid} ({signalStrength}%): {ipaddr}"; tooltip-format-wifi = "{essid} ({signalStrength}%): {ipaddr}";
}; };