From d11cca64b759f106001ef0d2718a57704ae64b6f Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Mon, 29 Jan 2024 08:44:07 -0500 Subject: [PATCH] fixed if-shell --- .tmux.conf##default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf##default b/.tmux.conf##default index 867a7fe..872b016 100644 --- a/.tmux.conf##default +++ b/.tmux.conf##default @@ -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 ' }