fixed if-shell
This commit is contained in:
parent
d11cca64b7
commit
0e56a7626a
|
|
@ -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 'test "$(acpi -t)"' {
|
||||
set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y '
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue