change ~/.tmux.conf -> ~/.config/tmux/tmux.conf, alternative path for tmux 3.1+
parent
0cffc0e2aa
commit
f8e6ad004a
|
@ -24,6 +24,7 @@
|
||||||
pkgs.stdenv.cc.cc.lib
|
pkgs.stdenv.cc.cc.lib
|
||||||
pkgs.yq
|
pkgs.yq
|
||||||
pkgs.python39Full
|
pkgs.python39Full
|
||||||
|
pkgs.xorg.xclock
|
||||||
# pkgs.python310
|
# pkgs.python310
|
||||||
# pkgs.python310.numpy
|
# pkgs.python310.numpy
|
||||||
# pkgs.python310Packages.tensorflow
|
# pkgs.python310Packages.tensorflow
|
||||||
|
@ -53,7 +54,7 @@
|
||||||
};
|
};
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = builtins.readFile ../tmux/.tmux.conf;
|
extraConfig = builtins.readFile ../tmux/tmux.conf;
|
||||||
};
|
};
|
||||||
programs.exa = {
|
programs.exa = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -86,4 +86,13 @@ format = 'via [$symbol]($style)'
|
||||||
[git_status]
|
[git_status]
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
zsh_indicator = "%"
|
||||||
|
fish_indicator = ""
|
||||||
|
powershell_indicator = "_"
|
||||||
|
unknown_indicator = "mystery shell"
|
||||||
|
style = "cyan bold"
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[username]
|
||||||
|
show_always=true
|
||||||
|
|
|
@ -8,7 +8,7 @@ set -g display-time 1500
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf \; display "tmux.conf reloaded at ~/.tmux.conf"
|
bind r source-file ~/.config/tmux/tmux.conf \; display "tmux.conf reloaded at ~/.tmux.conf"
|
||||||
set -g base-index 1 # rebind to start from 0
|
set -g base-index 1 # rebind to start from 0
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
|
@ -16,3 +16,5 @@ set-option -g renumber-windows on
|
||||||
# status bar
|
# status bar
|
||||||
set -g status-style 'bg=#333333 fg=#5eacd3'
|
set -g status-style 'bg=#333333 fg=#5eacd3'
|
||||||
|
|
||||||
|
# Keybinds
|
||||||
|
set-window-option -g mode-keys vi
|
Loading…
Reference in New Issue