Waybar: Fix empty battery padding.

This commit is contained in:
Dmitry Voronin 2024-11-19 02:21:12 +03:00
parent 71bb213716
commit bf82e798b7
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 4 additions and 4 deletions

View file

@ -12,10 +12,10 @@ in {
set -g status-justify left set -g status-justify left
set -g status-style "fg=#${fg}" set -g status-style "fg=#${fg}"
set -g status-left "#[bold] #H-#S #[default]" set -g status-left "#[bold] #H-#S #[default]"
set -g status-right "" set -g status-right ""
set-window-option -g window-status-separator "" set-window-option -g window-status-separator ""
setw -g window-status-current-style "fg=#${accent} bold" setw -g window-status-current-style "fg=#${accent} bold"
setw -g window-status-current-format " #W " setw -g window-status-current-format " #W "

View file

@ -193,10 +193,10 @@ in {
exec = "echo "; exec = "echo ";
}; };
"custom/tagbat1" = { "custom/tagbat1" = {
exec = "echo "; exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ";
}; };
"custom/tagbat2" = { "custom/tagbat2" = {
exec = "echo "; exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ";
}; };
}; };
} }