mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
change niri a bit, and add tmux to nix config
This commit is contained in:
parent
43847514c1
commit
65112394b4
3 changed files with 11 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ binds {
|
||||||
Mod+Shift+Minus { set-window-height "-10%"; }
|
Mod+Shift+Minus { set-window-height "-10%"; }
|
||||||
Mod+Shift+Equal { 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+V { switch-focus-between-floating-and-tiling; }
|
||||||
|
|
||||||
Mod+Shift+F { toggle-column-tabbed-display; }
|
Mod+Shift+F { toggle-column-tabbed-display; }
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,9 @@
|
||||||
bindkey -e
|
bindkey -e
|
||||||
PS1="[%n in %m %~] "
|
PS1="[%n in %m %~] "
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||||
|
tmux attach -t default || tmux new -s default
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,4 +84,11 @@ in {
|
||||||
userName = "coast";
|
userName = "coast";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.tmate = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue