Add battery support for Linux system-info script

This commit is contained in:
2023-06-01 21:52:27 +01:00
parent d852c46bc8
commit b5c2f8343a
2 changed files with 23 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ setw -g status-style fg=colour240,bg=colour233
setw -g status-right "#[fg=colour240]#(cat ~/.cache/tmux/system-info)#[fg=white] %a %d-%m-%y %H:%M "
setw -g status-right-style fg=white,bg=colour233
if -b '[ "`uname`" != "Darwin" ]' \
'run "tmux setw -g status-right-length $((`nproc --all` + 32))"'
'run "tmux setw -g status-right-length $((`nproc --all` + 48))"'
# Active window status style
setw -g window-status-current-format " #{window_index}: #{window_name}"