tmux | tweak config

This commit is contained in:
Don Harper 2024-08-25 21:19:34 -05:00
parent 0494667eb1
commit f07ac6eaa5

View file

@ -8,13 +8,9 @@
mouse = false; mouse = false;
baseIndex = 1; baseIndex = 1;
disableConfirmationPrompt = true; disableConfirmationPrompt = true;
#shell = "${pkgs.bash}/bin/bash";
terminal = "tmux-256color"; terminal = "tmux-256color";
keyMode = "vi"; keyMode = "vi";
plugins = [ plugins = [
# Add tmux-tasks
pkgs.tmuxPlugins.resurrect
pkgs.tmuxPlugins.continuum
pkgs.tmuxPlugins.battery pkgs.tmuxPlugins.battery
pkgs.tmuxPlugins.cpu pkgs.tmuxPlugins.cpu
pkgs.tmuxPlugins.vim-tmux-navigator pkgs.tmuxPlugins.vim-tmux-navigator
@ -25,24 +21,28 @@
set -g @offline_icon "offline!" set -g @offline_icon "offline!"
''; '';
} }
{ # {
plugin = pkgs.tmuxPlugins.dracula; # plugin = pkgs.tmuxPlugins.dracula;
extraConfig = '' # extraConfig = ''
set -g @dracula-plugins "cpu-usage network battery weather time" # set -g @dracula-plugins "cpu-usage network battery weather time"
set -g @dracula-border-contrast true # set -g @dracula-border-contrast true
set -g @dracula-refresh-rate 10 # set -g @dracula-refresh-rate 10
set -g @dracula-show-left-icon session # set -g @dracula-show-left-icon session
set -g @dracula-border-contrast true # set -g @dracula-border-contrast true
set -g @dracula-show-powerline true # set -g @dracula-show-powerline true
set -g @dracula-synchronize-panes-label "Sync" # set -g @dracula-synchronize-panes-label "Sync"
set -g @dracula-show-flags true # set -g @dracula-show-flags true
set -g @dracula-show-timezone false # set -g @dracula-show-timezone false
set -g @dracula-fixed-location "Katy, Texas" # set -g @dracula-fixed-location "Katy, Texas"
set -g @dracula-show-location false # set -g @dracula-show-location false
''; # '';
} # }
]; ];
extraConfig = '' extraConfig = ''
# left_sep=''
# right_sep=''
# right_alt_sep=''
# set -g status-right " online: #{online_status}  BAT: #{battery_graph} #{battery_remain}  CPU: #{cpu_icon} #{cpu_percentage}  %Y-%m-%d %l:%M "
bind '~' split-window "exec btop" bind '~' split-window "exec btop"
bind - split-window -v -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}" bind | split-window -h -c "#{pane_current_path}"