This commit is contained in:
quak
2024-10-10 23:57:18 +02:00
parent 5a6d346112
commit 8f8851173b
3 changed files with 28 additions and 11 deletions

View File

@@ -56,7 +56,7 @@ truncate_to_repo = false
[git_branch]
disabled = false
symbol = ""
symbol = ""
style = "fg:zx_white"
format = '[ $symbol $branch ]($style)'
truncation_length = 16

View File

@@ -2,6 +2,9 @@
# use interactive shell instead of login shell
set-option -g default-command "/bin/bash"
# enable rgb colors
set-option -sa terminal-features ',xterm-256color:RGB'
# set prefix key
unbind C-b
set-option -g prefix C-Space
@@ -19,6 +22,13 @@ bind -n M-Right select-pane -R
# enable mouse support
set -g mouse on
# bind -n WheelUpPane {
# if -F '#{==:#{window_name},nvim}' {
# send-keys -M
# } {
# copy-mode -e
# }
# }
# reasonable resizing
setw -g aggressive-resize on
@@ -38,4 +48,4 @@ set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# source ~/dotfiles/tmux/.config/tmux/zegonix.conf
source ~/dotfiles/tmux/.config/tmux/zegonix.conf

View File

@@ -1,6 +1,13 @@
# _____ __ __ _ _ __ __
# |_ _| | \/ | | | | | \ \/ /
# | | | |\/| | | | | | \ /
# | | | | | | | |_| | / \
# |_| |_| |_| \___/ /_/\_\
#
## zegonix custom scheme derived from gruvbox dark
set-option -g status "on"
set-option -sa terminal-features ',xterm-256color:RGB'
# user variables
set -g @white "#C8C8C8"
@@ -19,16 +26,16 @@ set -g @active-bg "#{@light-blue}"
set -g @active-fg "#{@dark-blue}"
# default statusbar color
set-option -g status-style "bg=#{@dark-grey},fg=#{@light-blue}"
set-option -g status-style "bg=red,fg=#{@default-fg}"
# default window title colors
set-window-option -g window-status-style "bg=#{@blue},fg=#{@light-blue}"
set-window-option -g window-status-style "bg=#{@blue},fg=#{@light-blue},bold"
# default window with an activity alert
set-window-option -g window-status-activity-style "bg=#{@blue},fg=#{@light-blue}"
set-window-option -g window-status-activity-style "bg=#{@blue},fg=#{@light-blue},bold"
# active window title colors
set-window-option -g window-status-current-style "bg=#{@light-blue},fg=#{@dark-blue}"
set-window-option -g window-status-current-style "bg=#{@light-blue},fg=#{@dark-blue},bold"
# pane border
set-option -g pane-active-border-style fg=colour250
@@ -58,10 +65,10 @@ set-option -g status-right-style none
set-option -g status-right-length "80"
set-window-option -g window-status-separator ""
set-option -g status-left "#[bg=colour241,fg=colour248] #S #[bg=colour237,fg=colour241,nobold,noitalics,nounderscore]"
set-option -g status-right "#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h "
set-option -g status-left " { $#S } "
set-option -g status-right " %Y-%m-%d // %H:%M "
set-window-option -g window-status-current-format "#[bg=colour214,fg=colour237,nobold,noitalics,nounderscore]#[bg=colour214,fg=colour239] #I #[bg=colour214,fg=colour239,bold] #W#{?window_zoomed_flag,*Z,} #[bg=colour237,fg=colour214,nobold,noitalics,nounderscore]"
set-window-option -g window-status-format "#[bg=#{@default-bg},fg=#{@base},noitalics]#[bg=#{@default-bg},fg=#{@white}] #I #[bg=colour239,fg=colour223] #W #[bg=colour237,fg=colour239,noitalics]"
set-window-option -g window-status-current-format " [ #I : #W ] "
set-window-option -g window-status-format " [ #I : #W ] "
# vim: set ft=tmux tw=0 nowrap: