Waybar: Fix empty battery padding.
This commit is contained in:
parent
71bb213716
commit
bf82e798b7
|
@ -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 "
|
||||||
|
|
|
@ -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 ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue