fixed if-shell

This commit is contained in:
Andrei Stoica 2024-01-29 08:44:07 -05:00
parent f4f7565427
commit d11cca64b7
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
set -g status-right '%H:%m %d-%b-%y '
if-shell '[[ $(acpi -t) ]]' {
if-shell 'acpi -t' {
set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y '
}