diff --git a/home/file/tmux/module/Status.nix b/home/file/tmux/module/Status.nix index 37e16f6c..e0cc295b 100644 --- a/home/file/tmux/module/Status.nix +++ b/home/file/tmux/module/Status.nix @@ -12,10 +12,10 @@ in { set -g status-justify left 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-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-format " #W " diff --git a/home/file/waybar/config/default.nix b/home/file/waybar/config/default.nix index 81348013..1bc9aaf9 100644 --- a/home/file/waybar/config/default.nix +++ b/home/file/waybar/config/default.nix @@ -193,10 +193,10 @@ in { exec = "echo ​"; }; "custom/tagbat1" = { - exec = "echo ​"; + exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ​"; }; "custom/tagbat2" = { - exec = "echo ​"; + exec = "[[ -e /sys/class/power_supply/BAT*/capacity ]] && echo ​"; }; }; }