Fix increasing right status length in Linux

This commit is contained in:
Kenneth Benzie 2022-02-08 23:49:59 +00:00
parent 054b347595
commit 206aa05eee

View File

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