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;
};
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/";
tooltip-format = "<big><tt>{calendar}</tt></big>";
};
@ -92,10 +92,10 @@ in {
"group/batteryinfo" = {
orientation = "horizontal";
modules = [
"custom/tagbat1"
"custom/tagbt1"
"battery"
"custom/powerlimit"
"custom/tagbat2"
"custom/tagbt2"
];
};
pulseaudio = {
@ -192,11 +192,11 @@ in {
"custom/taghw2" = {
exec = "echo ";
};
"custom/tagbat1" = {
exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ";
"custom/tagbt1" = {
exec = "test -e /sys/class/power_supply/BAT*/capacity && echo ";
};
"custom/tagbat2" = {
exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ";
"custom/tagbt2" = {
exec = "test -e /sys/class/power_supply/BAT*/capacity && echo ";
};
};
}

View file

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