change niri a bit, and add tmux to nix config

This commit is contained in:
coast 2025-11-04 03:09:34 +03:30
parent 43847514c1
commit 65112394b4
3 changed files with 11 additions and 1 deletions

View file

@ -221,7 +221,7 @@ binds {
Mod+Shift+Minus { set-window-height "-10%"; }
Mod+Shift+Equal { set-window-height "+10%"; }
Mod+V { toggle-window-floating; }
Mod+Space { toggle-window-floating; }
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
Mod+Shift+F { toggle-column-tabbed-display; }

View file

@ -54,6 +54,9 @@
bindkey -e
PS1="[%n in %m %~] "
eval "$(starship init zsh)"
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach -t default || tmux new -s default
fi
'';
};
}

View file

@ -84,4 +84,11 @@ in {
userName = "coast";
};
programs.tmux = {
enable = true;
};
programs.tmate = {
enable = true;
};
}