nixbook: fix xdph, update tmux conf

This commit is contained in:
Tristan 2024-08-03 00:58:17 +01:00
parent 8358376a4a
commit bbadda1419
4 changed files with 14 additions and 2 deletions

View file

@ -100,8 +100,9 @@ in {
programs.tmux.enable = true;
programs.tmux.extraConfig = ''
set-option -sa terminal-overrides ",xterm*:Tc"
set escape-time 0
set -g default-terminal screen
bind -n M-s split-window -v
bind -n M-v split-window -h
@ -115,6 +116,7 @@ in {
bind -n M-> resize-pane -R 10
bind -n M-- resize-pane -D 10
bind -n M-+ resize-pane -U 10
bind -n M-z resize-pane -Z
bind -n M-u copy-mode
bind -n M-p paste-buffer
bind -n M-n next-window
@ -125,6 +127,12 @@ in {
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind -n "M-`" break-pane -d
bind -n "M-`" break-pane -d
'';

View file

@ -11,6 +11,8 @@
"electron-27.3.11"
];
programs.hyprland.enable = true;
# use pipewire
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;