Compare commits

..

2 Commits

2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,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 $((`sysctl -n hw.ncpu` + 48))"' \
'run "tmux setw -g status-right-length $((`nproc --all` + 48))"' 'run "tmux setw -g status-right-length $((`nproc --all` + 48))"'
# Active window status style # Active window status style

View File

@ -66,7 +66,7 @@ bind a run-shell ~/.local/share/tmux/layouts/window-auto
if -b '[ "`uname`" = "Darwin" ]' \ if -b '[ "`uname`" = "Darwin" ]' \
'set -g default-command "reattach-to-user-namespace -l $SHELL"' 'set -g default-command "reattach-to-user-namespace -l $SHELL"'
if -b '[ "$TMUX_VERSION" > "3.2" ]' { if -b '[[ "$TMUX_VERSION" > "3.2" ]]' {
# Open a popup with running the default shell # Open a popup with running the default shell
bind T display-popup -S fg=#54546D -b rounded -d '#{pane_current_path}' -E $SHELL bind T display-popup -S fg=#54546D -b rounded -d '#{pane_current_path}' -E $SHELL
# Open a popup with session creator/switcher # Open a popup with session creator/switcher