diff --git a/modules/desktop/hyprland/hyprland-binds.lua b/modules/desktop/hyprland/hyprland-binds.lua index b63410b..8b67e48 100644 --- a/modules/desktop/hyprland/hyprland-binds.lua +++ b/modules/desktop/hyprland/hyprland-binds.lua @@ -10,6 +10,12 @@ hl.bind("SUPER + SPACE", hl.dsp.exec_cmd("hyprlauncher"), { description = "start hl.bind("SUPER + F", hl.dsp.exec_cmd("zen"), { description = "start zen browser" }) hl.bind("SUPER + TAB", hl.dsp.focus({ last = true }), { description = "switch to the last active window"}) +hl.bind( + "SUPER + ALT + L", + hl.dsp.exec_cmd("hyprlock --quiet"), + { description = "lock screen" } +) + local directions = { left = "H", right = "L", diff --git a/modules/desktop/hyprland/hyprland.nix b/modules/desktop/hyprland/hyprland.nix index 2ffc8c8..ddf5604 100644 --- a/modules/desktop/hyprland/hyprland.nix +++ b/modules/desktop/hyprland/hyprland.nix @@ -92,6 +92,18 @@ general.grab_focus = true; }; }; + + programs.hyprlock = { + enable = true; + settings = { + input-field = [ + { + dots_center = true; + fade_on_empty = false; + } + ]; + }; + }; }; }; }