diff --git a/chezmoi/dot_tmux.conf b/chezmoi/dot_tmux.conf index c5b369f..3714acb 100644 --- a/chezmoi/dot_tmux.conf +++ b/chezmoi/dot_tmux.conf @@ -56,7 +56,7 @@ set -g status-left "[#S] > #(awk '{uptime=$1; days=int(uptime/86400); uptime-=86 set -g status-right-length 100 set -g status-right-style 'bg=terminal, fg=green' -set -g status-right "#(acpi | tr -d , | awk '/[0-9]+%/{printf \"%%s %%s < \", $3, $4}')%R < %F < #(echo \"$USER\") < #h" +set -g status-right "#(acpi | tr -d , | awk 'NR==1{printf \"%%s %%s < \", $3, $4; exit}')%R < %F < #(echo \"$USER\") < #h" ## } Status line