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