FIX tmux configuration : session+prefix+tpm

ADD Nord Theme to tmux
This commit is contained in:
Alexandre LUCAZEAU 2023-01-10 15:56:56 +01:00
parent 5f9e65a1b3
commit b77f3a28fe
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
1 changed files with 5 additions and 6 deletions

View File

@ -2,19 +2,18 @@
{ {
programs.tmux = { programs.tmux = {
enable = true; enable = true;
shortcut = "a"; shortcut = "b";
# aggressiveResize = true; -- Disabled to be iTerm-friendly # aggressiveResize = true; -- Disabled to be iTerm-friendly
baseIndex = 1; baseIndex = 1;
newSession = true; # newSession = true;
# Stop tmux+escape craziness. # Stop tmux+escape craziness.
escapeTime = 0; escapeTime = 0;
# Force tmux to use /tmp for sockets (WSL2 compat) secureSocket = true;
secureSocket = false;
plugins = with pkgs; [ plugins = with pkgs; [
tmuxPlugins.better-mouse-mode tmuxPlugins.better-mouse-mode
tmuxPlugins.sidebar tmuxPlugins.sidebar
# tmuxPlugins.tmux-power tmuxPlugins.nord
]; ];
extraConfig = '' extraConfig = ''
@ -55,7 +54,7 @@
set -g set-titles on set -g set-titles on
# Attach to a session if runs otherwise create a new one # Attach to a session if runs otherwise create a new one
new-session -n $HOST new-session -n DRI
''; '';
}; };