diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf index 98a9eef..0998980 100644 --- a/home-config/hypr/hyprland.conf +++ b/home-config/hypr/hyprland.conf @@ -189,6 +189,7 @@ bindm = $mainMod, mouse:273, resizewindow # Bind mainMod + L to screenlocker bind = $mainMod, L, exec, swaylock --screenshots --clock --indicator --fade-in 0.3 --effect-blur 7x5 --effect-greyscale +bind = $mainMod SHIFT, L, exec, swaylock --screenshots --clock --indicator --effect-blur 7x5 --effect-greyscale & sleep 0.5; loginctl suspend # Keybind for screenshot bind = $mainMod SHIFT, S, exec, grimblast copy area diff --git a/modules/ryan-config/base-system.scm b/modules/ryan-config/base-system.scm index ae5c1af..5bb7db9 100644 --- a/modules/ryan-config/base-system.scm +++ b/modules/ryan-config/base-system.scm @@ -201,6 +201,12 @@ (inherit config) (rules (cons %backlight-udev-rule (udev-configuration-rules config))))) + (elogind-service-type config => + (elogind-configuration + (inherit config) + (handle-power-key `ignore) + (handle-suspend-key `ignore) + (handle-lid-switch `ignore))) (delete pulseaudio-service-type) (delete gdm-service-type) (delete avahi-service-type)