Waybar: Fix some quirks again.

This commit is contained in:
Dmitry Voronin 2024-11-19 06:38:10 +03:00
parent 044b644b82
commit 46aa5054f1
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 9 additions and 9 deletions

View file

@ -58,7 +58,7 @@ in {
spacing = 8; spacing = 8;
}; };
clock = { clock = {
format-alt = "{:%d %a %H:%M}"; format-alt = "{:%H:%M %a %d %b}";
on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/"; on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/";
tooltip-format = "<big><tt>{calendar}</tt></big>"; tooltip-format = "<big><tt>{calendar}</tt></big>";
}; };
@ -92,10 +92,10 @@ in {
"group/batteryinfo" = { "group/batteryinfo" = {
orientation = "horizontal"; orientation = "horizontal";
modules = [ modules = [
"custom/tagbat1" "custom/tagbt1"
"battery" "battery"
"custom/powerlimit" "custom/powerlimit"
"custom/tagbat2" "custom/tagbt2"
]; ];
}; };
pulseaudio = { pulseaudio = {
@ -192,11 +192,11 @@ in {
"custom/taghw2" = { "custom/taghw2" = {
exec = "echo "; exec = "echo ";
}; };
"custom/tagbat1" = { "custom/tagbt1" = {
exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo "; exec = "test -e /sys/class/power_supply/BAT*/capacity && echo ";
}; };
"custom/tagbat2" = { "custom/tagbt2" = {
exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo "; exec = "test -e /sys/class/power_supply/BAT*/capacity && echo ";
}; };
}; };
} }

View file

@ -11,12 +11,12 @@ in {
text = '' text = ''
/* See the ISSUE above. */ /* See the ISSUE above. */
#custom-taghw1, #custom-taghw1,
#custom-tagbat1 { #custom-tagbt1 {
padding-left: ${paddingH}; padding-left: ${paddingH};
} }
#custom-taghw2, #custom-taghw2,
#custom-tagbat2 { #custom-tagbt2 {
padding-right: ${paddingH}; padding-right: ${paddingH};
} }