tmux tmux tmux

This commit is contained in:
quak
2024-10-17 00:15:48 +02:00
parent ee696a0047
commit 535de45b7b
2 changed files with 31 additions and 28 deletions

View File

@@ -22,9 +22,10 @@ alias nano='nano -l'
alias dirs='dirs -v'
alias sbashrc='source ~/.bashrc'
alias bashsource='source ~/.bashrc'
## short forms for tmux commands
alias trs='tmux rename-session'
alias trw='tmux rename-window'
alias tnw='tmux new-window -c "#{pane_current_path}"'

View File

@@ -17,41 +17,43 @@ set -g bell-action none
# user variables
set -g @white "#C8C8C8"
set -g @dark-blue "#000010"
set -g @blue "#203050"
set -g @light-blue "#5BB8FF"
set -g @cyan "#15D7E5"
set -g @dark-grey "#282830"
set -g @light-grey "#A0A0AD"
set -g @black "#000000"
set -g @dark-green "#183018"
set -g @white "#C8C8C8"
set -g @bluish-black "#000010"
set -g @dark-blue "#203050"
set -g @blue "#297AF5"
set -g @light-blue "#5BB8FF"
set -g @cyan "#15D7E5"
set -g @dark-grey "#242430"
set -g @light-grey "#A0A0AD"
set -g @black "#000000"
set -g @dark-green "#183018"
set -g @green "#37AC2A"
set -g @light-green "#8CDF5A"
set -g @magenta "#E02482"
# format strings
set-option -g status-left " ( $#S ) "
set-option -g status-right "#[fg=#{@white}] ( %Y-%m-%d #[fg=#{@light-blue}]//#[fg=#{@white}] %H:%M ) "
setw -g window-status-format " [ #I : #W ] "
setw -g window-status-current-format " [ #I : #W ] "
set-window-option -g window-status-separator ""
set -g status-left " ( #S ) "
set -g status-right "#[fg=#{@light-green}] ( #[fg=#{@white}]%Y-%m-%d #[fg=#{@light-green}]//#[fg=#{@white}] %H:%M #[fg=#{@light-green}]) "
setw -g window-status-format " #I_#W "
setw -g window-status-current-format "[ #I_#W ]"
setw -g window-status-separator ""
# style strings
set-option -g status-style "bg=#{@dark-grey},fg=#{@white}"
set-option -g status-left-style "bg=#{@light-grey},fg=#{@dark-blue}"
set-option -g status-right-style "bg=#{@dark-grey},fg=#{@white}"
setw -g window-status-style "bg=#{@dark-grey},fg=#{@light-blue},bold"
setw -g window-status-activity-style "bg=#{@dark-grey},fg=#{@light-blue},bold"
setw -g window-status-current-style "bg=#{@light-blue},fg=#{@dark-blue},bold"
set -g status-style "bg=#{@dark-grey},fg=#{@white}"
set -g status-left-style "bg=#{@dark-grey},fg=#{@white},bold"
set -g status-right-style "bg=#{@dark-grey},fg=#{@white}"
setw -g window-status-style "fg=#{@blue},bold"
setw -g window-status-activity-style "fg=#{@blue},bold"
setw -g window-status-current-style "fg=#{@light-blue},bold"
# ..
set-option -g status-justify "left"
set-option -g status-left-length "80"
set-option -g status-right-length "80"
set-option -g message-style bg=colour239,fg=colour223
set-option -g message-command-style bg=colour239,fg=colour223
## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
set-option -g status-justify "left"
set-option -g status-left-length "80"
set-option -g status-right-length "80"
# vim: set ft=tmux tw=0 nowrap: