Make tmux battery display more refined

This commit is contained in:
Tony Blyler 2022-04-22 16:24:56 -04:00
parent a281e8eebc
commit 816c557a77

View file

@ -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