From 06c6c3f54188532d2f634470ef92c83ab3111f4f Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 23 Feb 2025 17:08:25 +0000 Subject: [PATCH] Add lockscreen --- home/.config/hypr/hyprland.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/.config/hypr/hyprland.conf b/home/.config/hypr/hyprland.conf index 2a1164f5..ffb9ca64 100644 --- a/home/.config/hypr/hyprland.conf +++ b/home/.config/hypr/hyprland.conf @@ -16,6 +16,7 @@ monitor=,preferred,auto,auto $terminal = foot $fileManager = nautilus $menu = wofi --show drun +$lockscreen = hyprlock ################# @@ -194,11 +195,11 @@ device { ################### # See https://wiki.hyprland.org/Configuring/Keywords/ -# $mainMod = SUPER # Sets "Windows" key as main modifier -$mainMod = CONTROLALT # Sets "Windows" key as main modifier +$mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal +bind = $mainMod, L, exec, $lockscreen bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager