Merge branch 'nixbook/master' into zenix/master
This commit is contained in:
commit
7b943ae1f6
4 changed files with 14 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ in {
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPackages = [pkgs.hyprland];
|
configPackages = [pkgs.hyprland];
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland];
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
|
|
|
||||||
|
|
@ -92,11 +92,13 @@
|
||||||
diagnostic = {
|
diagnostic = {
|
||||||
"<leader>e" = "open_float";
|
"<leader>e" = "open_float";
|
||||||
"<leader>ca" = "code_action";
|
"<leader>ca" = "code_action";
|
||||||
|
"<C-.>" = "code_action";
|
||||||
"<leader>cr" = "rename";
|
"<leader>cr" = "rename";
|
||||||
"gd" = "definition";
|
"gd" = "definition";
|
||||||
};
|
};
|
||||||
diagnostic = {
|
diagnostic = {
|
||||||
"<leader>ch" = "open_float";
|
"<leader>ch" = "open_float";
|
||||||
|
"<C-e>" = "open_float";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -101,8 +101,9 @@ in {
|
||||||
|
|
||||||
programs.tmux.enable = true;
|
programs.tmux.enable = true;
|
||||||
programs.tmux.extraConfig = ''
|
programs.tmux.extraConfig = ''
|
||||||
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||||
|
|
||||||
set escape-time 0
|
set escape-time 0
|
||||||
set -g default-terminal screen
|
|
||||||
|
|
||||||
bind -n M-s split-window -v
|
bind -n M-s split-window -v
|
||||||
bind -n M-v split-window -h
|
bind -n M-v split-window -h
|
||||||
|
|
@ -116,6 +117,7 @@ in {
|
||||||
bind -n M-> resize-pane -R 10
|
bind -n M-> resize-pane -R 10
|
||||||
bind -n M-- resize-pane -D 10
|
bind -n M-- resize-pane -D 10
|
||||||
bind -n M-+ resize-pane -U 10
|
bind -n M-+ resize-pane -U 10
|
||||||
|
bind -n M-z resize-pane -Z
|
||||||
bind -n M-u copy-mode
|
bind -n M-u copy-mode
|
||||||
bind -n M-p paste-buffer
|
bind -n M-p paste-buffer
|
||||||
bind -n M-n next-window
|
bind -n M-n next-window
|
||||||
|
|
@ -126,6 +128,12 @@ in {
|
||||||
|
|
||||||
set -g mouse on
|
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
|
bind -n "M-`" break-pane -d
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@
|
||||||
"electron-27.3.11"
|
"electron-27.3.11"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
# use pipewire
|
# use pipewire
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue