Begin adding WSL2 support for system-info

This commit is contained in:
2021-11-28 11:40:23 +00:00
parent 1389817cb4
commit e912a5902b
3 changed files with 45 additions and 0 deletions

View File

@@ -127,6 +127,8 @@ setw -g status-style fg=colour240,bg=colour233
# 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-style fg=white,bg=colour233
if -b '[[ "`uname`" != "Darwin" ]]' \
run 'tmux setw -g status-right-length $((`nproc --all` + 32))'
# Active window status style
setw -g window-status-current-format " #{window_index}: #{window_name}"