From 8f8851173b34a3b4df2a725a5b59a442c934a42c Mon Sep 17 00:00:00 2001 From: quak Date: Thu, 10 Oct 2024 23:57:18 +0200 Subject: [PATCH] blabla --- starship/.config/starship.toml | 2 +- tmux/.config/tmux/tmux.conf | 12 +++++++++++- tmux/.config/tmux/zegonix.conf | 25 ++++++++++++++++--------- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 9b75f0e..3e99013 100755 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -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 diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 3f41001..f252ef8 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -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 diff --git a/tmux/.config/tmux/zegonix.conf b/tmux/.config/tmux/zegonix.conf index d79c566..64b439c 100644 --- a/tmux/.config/tmux/zegonix.conf +++ b/tmux/.config/tmux/zegonix.conf @@ -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: