fixed if-shell

This commit is contained in:
Andrei Stoica 2024-01-29 08:50:46 -05:00
parent d11cca64b7
commit 0e56a7626a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ bind h attach-session -t . -c "#{pane_current_path}"
# status bar # status bar
set -g status-right '%H:%m %d-%b-%y ' set -g status-right '%H:%m %d-%b-%y '
if-shell 'acpi -t' { if-shell 'test "$(acpi -t)"' {
set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y ' set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y '
} }