small fix for waybar widget
This commit is contained in:
parent
b3a36d9dbe
commit
ec5edefad8
1 changed files with 5 additions and 4 deletions
|
|
@ -36,12 +36,12 @@ in
|
||||||
};
|
};
|
||||||
"modules" = [
|
"modules" = [
|
||||||
"clock"
|
"clock"
|
||||||
|
"idle_inhibitor"
|
||||||
"sway/language"
|
"sway/language"
|
||||||
"network"
|
"network"
|
||||||
"custom/wireguard"
|
"custom/wireguard"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"idle_inhibitor"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"sway/workspaces" = {
|
"sway/workspaces" = {
|
||||||
|
|
@ -63,7 +63,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"sway/language" = {
|
"sway/language" = {
|
||||||
format = "| {short} ";
|
# this one gobbles all trailing ascii whitespace for some reason. use this unicode instead
|
||||||
|
format = "| {short} ";
|
||||||
tooltip-format = "{long}";
|
tooltip-format = "{long}";
|
||||||
};
|
};
|
||||||
clock = {
|
clock = {
|
||||||
|
|
@ -75,14 +76,14 @@ in
|
||||||
battery = {
|
battery = {
|
||||||
interval = 60;
|
interval = 60;
|
||||||
format = "| {capacity}% ";
|
format = "| {capacity}% ";
|
||||||
format-charging = "| ch:{capacity}%";
|
format-charging = "| ch:{capacity}% ";
|
||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
tooltip-format = "{ifname} = {ipaddr}/{cidr}";
|
tooltip-format = "{ifname} = {ipaddr}/{cidr}";
|
||||||
format-wifi = "| w:{essid} ";
|
format-wifi = "| w:{essid} ";
|
||||||
format-ethernet = "| e:{ipaddr} ";
|
format-ethernet = "| e:{ipaddr} ";
|
||||||
format-linked = "| l:{ipaddr} ";
|
format-linked = "| l:{ipaddr} ";
|
||||||
format-disconnected = "| d ";
|
format-disconnected = "| w:d ";
|
||||||
interval = 15;
|
interval = 15;
|
||||||
on-click = "${uwsm} ${term} -e nmtui";
|
on-click = "${uwsm} ${term} -e nmtui";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue