minor updates

This commit is contained in:
Arthur Khachaturov 2024-09-19 04:25:07 +03:00
parent e3790a4f3f
commit 628baf3eea
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
32 changed files with 655 additions and 123 deletions

View file

@ -21,8 +21,8 @@ bind ';' "command-prompt"
bind C-r "source-file ~/.config/tmux/tmux.conf"
# Session binds
bind C-n "new-session -c '#{pane_current_path}' -s '#{b:pane_current_path}'"
bind C-x "set-option -g detach-on-destroy on; kill-session"
# bind C-n "new-session -c '#{pane_current_path}' -s '#{b:pane_current_path}'"
# bind C-x "set-option -g detach-on-destroy on; kill-session"
bind X "set-option -g detach-on-destroy off; kill-session; set-option -g detach-on-destroy on"
# Select mode

View file

@ -9,8 +9,8 @@ set -g @batt_icon_charge_tier6 ' '
set -g @batt_icon_charge_tier5 ' '
set -g @batt_icon_charge_tier4 ' '
set -g @batt_icon_charge_tier3 ' '
set -g @batt_icon_charge_tier2 ''
set -g @batt_icon_charge_tier1 '! !'
set -g @batt_icon_charge_tier2 ''
set -g @batt_icon_charge_tier1 ''
# better-mouse-mode
set -g @emulate-scroll-for-no-mouse-alternate-buffer "on"

View file

@ -13,10 +13,11 @@ set -g status-justify "left"
# status
set -g status-left-length 0
set -g status-left "#[bg=#{@theme-active-bg},fg=#{@theme-active-fg}]#{?client_prefix,[#{session_name}],#[bg=#{@theme-bg},fg=#{@theme-fg}][#{session_name}]}#[bg=#{@theme-bg},fg=#{@theme-fg}] "
set -g status-right "#{battery_icon_charge} #{battery_percentage} | %a %m/%d %I:%M %P"
set -g status-right "#(sb-battery -s) | %a %m/%d %I:%M %P"
set -g window-status-format " #I:#W "
set -g window-status-current-format "#[bg=#{@theme-active-bg},fg=#{@theme-active-fg}, bold]#{?window_zoomed_flag, #I:#W 󰊓 , #I:#W }"
set -g window-status-style "bg=#{@theme-bg},fg=#{@theme-fg}"
set -g status-interval "5"
# pane styles
set -g pane-border-style "fg=#{@theme-active-bg}"

View file

@ -28,6 +28,9 @@ setw -g pane-base-index 1
set -g visual-activity off
set -g monitor-activity off
# number windows with respect for base-index
set -g renumber-windows on
# Resize all windows to max size?
setw -g aggressive-resize on