diff --git a/hypr/hyprland.lua b/hypr/hyprland.lua index 663fc27..807f5af 100644 --- a/hypr/hyprland.lua +++ b/hypr/hyprland.lua @@ -272,6 +272,7 @@ end -- Example binds, see https://wiki.hypr.land/Configuring/Basics/Binds/ for more hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(terminal)) hl.bind(mainMod .. " + R", hl.dsp.exec_cmd(appsmenu)) +hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("hyprshot -m region --clipboard-only")) local closeWindowBind = hl.bind(mainMod .. " + C", hl.dsp.window.close()) -- closeWindowBind:set_enabled(false) hl.bind(mainMod .. " + M", hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'")) @@ -299,7 +300,7 @@ end -- Example special workspace (scratchpad) hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic")) -hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" })) +hl.bind(mainMod .. " + SHIFT + ALT + S", hl.dsp.window.move({ workspace = "special:magic" })) -- Scroll through existing workspaces with mainMod + scroll hl.bind(mainMod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" })) diff --git a/nixos/modules/packages/desktop.nix b/nixos/modules/packages/desktop.nix index f3f94b5..d64e9de 100644 --- a/nixos/modules/packages/desktop.nix +++ b/nixos/modules/packages/desktop.nix @@ -14,6 +14,7 @@ firefox grim hyprpaper + hyprshot kitty mako slurp