small fix for waybar widget

This commit is contained in:
alisceon 2026-05-29 14:42:02 +02:00
parent b3a36d9dbe
commit ec5edefad8

View file

@ -36,12 +36,12 @@ in
};
"modules" = [
"clock"
"idle_inhibitor"
"sway/language"
"network"
"custom/wireguard"
"bluetooth"
"pulseaudio"
"idle_inhibitor"
];
};
"sway/workspaces" = {
@ -63,7 +63,8 @@ in
};
};
"sway/language" = {
format = "| {short} ";
# this one gobbles all trailing ascii whitespace for some reason. use this unicode instead
format = "| {short}";
tooltip-format = "{long}";
};
clock = {
@ -82,7 +83,7 @@ in
format-wifi = "| w:{essid} ";
format-ethernet = "| e:{ipaddr} ";
format-linked = "| l:{ipaddr} ";
format-disconnected = "| d ";
format-disconnected = "| w:d ";
interval = 15;
on-click = "${uwsm} ${term} -e nmtui";
};