From 94cf475ae6bf9c1922ede34599bffc55a47e5b36 Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Thu, 13 Feb 2025 10:40:41 -0700 Subject: [PATCH] fixed locking --- .config/hypr/hyprland.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 7bb2c0d..5b2e9a8 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -57,6 +57,7 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = $scriptsDir/portal +exec-once = hypridle # with lock - hyprctl # exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' @@ -289,8 +290,8 @@ bind = $mainMod, K, layoutmsg, cycleprev bind = $mainMod, P, pseudo bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster bind = $mainMod, Space, exec, $scriptsDir/changeLayout -bind = $mainMod, X, exec, archlinux-logout -bind = $mainMod SHIFT, X, exec, arcolinux-powermenu +bind = $mainMod, X, exec, loginctl lock-session +bind = $mainMod SHIFT, E, exit bind = $mainMod, Y, exec, $term --class update -T update -e cava # f to cycle through foreground colors # Mainmod + Function keys