work on niri
This commit is contained in:
parent
8d88675778
commit
e2a331d5d1
2 changed files with 35 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
||||||
{}
|
|
||||||
|
|
@ -14,6 +14,41 @@
|
||||||
programs.niri = {
|
programs.niri = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
binds = with config.lib.niri.actions; {
|
||||||
|
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
||||||
|
"Mod+Enter" = {
|
||||||
|
hotkey-overlay.title = "Open terminal";
|
||||||
|
action = spawn "foot";
|
||||||
|
};
|
||||||
|
"Mod+D" = {
|
||||||
|
hotkey-overlay.title = "Open Application Picker";
|
||||||
|
action = spawn "wofi" "--show" "run";
|
||||||
|
};
|
||||||
|
"Mod+Shift+Z" = {
|
||||||
|
hotkey-overlay.title = "Lock computer";
|
||||||
|
action = spawn "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
input = {
|
||||||
|
keyboard = {
|
||||||
|
numlock = true;
|
||||||
|
};
|
||||||
|
touchpad = {
|
||||||
|
tap = false;
|
||||||
|
natural-scroll = true;
|
||||||
|
click-method = "button-areas";
|
||||||
|
disabled-on-external-mouse = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
layout = {
|
||||||
|
gaps = 16;
|
||||||
|
};
|
||||||
|
spawn-at-startup = [
|
||||||
|
"waybar"
|
||||||
|
"swaync"
|
||||||
|
"udiskie"
|
||||||
|
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue