niri: relocate some binds, modify screenshot/power binds
This commit is contained in:
parent
e7fd016afb
commit
01db71077a
1 changed files with 11 additions and 9 deletions
|
|
@ -3,16 +3,22 @@
|
||||||
{
|
{
|
||||||
home-manager.users.wo2w.programs.niri.settings.binds = {
|
home-manager.users.wo2w.programs.niri.settings.binds = {
|
||||||
# custom binds
|
# custom binds
|
||||||
"Mod+Space".action.spawn = [ "fuzzel" ];
|
"Mod+Space".action.spawn = "fuzzel";
|
||||||
"Print".action.screenshot = {};
|
|
||||||
"Alt+Print".action.screenshot-window = {};
|
|
||||||
"Ctrl+Print".action.screenshot-screen = {};
|
|
||||||
"Mod+T".action.spawn = "kitty";
|
"Mod+T".action.spawn = "kitty";
|
||||||
|
|
||||||
|
"Print".action.screenshot = {};
|
||||||
|
"Shift+Print".action.screenshot-window = {};
|
||||||
|
"Alt+Print".action.screenshot-screen = {};
|
||||||
|
|
||||||
|
"Mod+S".action.screenshot = {};
|
||||||
|
"Mod+Shift+S".action.screenshot-window = {};
|
||||||
|
"Super+Ctrl+S".action.screenshot-screen = {};
|
||||||
|
|
||||||
"Super+Alt+L".action.spawn = "hyprlock";
|
"Super+Alt+L".action.spawn = "hyprlock";
|
||||||
|
"Super+Alt+P".action.power-off-monitors = {};
|
||||||
"Super+Alt+S".action.spawn = [ "systemctl" "sleep" ];
|
"Super+Alt+S".action.spawn = [ "systemctl" "sleep" ];
|
||||||
"Super+Alt+E".action.quit = {};
|
"Super+Alt+E".action.quit = {};
|
||||||
"Super+Alt+Shift+S".action.spawn = "poweroff";
|
"Super+Alt+Shift+P".action.spawn = "poweroff";
|
||||||
"Super+Alt+Shift+R".action.spawn = "reboot";
|
"Super+Alt+Shift+R".action.spawn = "reboot";
|
||||||
|
|
||||||
"Mod+O".action.open-overview = {};
|
"Mod+O".action.open-overview = {};
|
||||||
|
|
@ -223,9 +229,5 @@
|
||||||
# Finer height adjustments when in column with other windows.
|
# Finer height adjustments when in column with other windows.
|
||||||
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
||||||
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
||||||
|
|
||||||
# Powers off the monitors. To turn them back on, do any input like
|
|
||||||
# moving the mouse or pressing any other key.
|
|
||||||
"Mod+Shift+P".action.power-off-monitors = {};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue