niri: relocate some binds, modify screenshot/power binds

This commit is contained in:
wo2wz 2025-10-26 11:03:51 -04:00
parent e7fd016afb
commit 01db71077a

View file

@ -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 = {};
}; };
} }