From 001860e40f4943ec5cb3e98cc1fa6570a863ea4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Thu, 15 Feb 2024 23:20:18 +0100 Subject: [PATCH] hyprland: lock on suspend, mouse move/resize --- hyperland/.config/hypr/hyprland.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hyperland/.config/hypr/hyprland.conf b/hyperland/.config/hypr/hyprland.conf index b898147..ce1cd13 100644 --- a/hyperland/.config/hypr/hyprland.conf +++ b/hyperland/.config/hypr/hyprland.conf @@ -34,7 +34,9 @@ $mainMod = SUPER bind = $mainMod, P, exec, $menu bind = $mainMod SHIFT, Return, exec, $terminal bind = $mainMod CONTROL SHIFT, Q, exit -bind = $mainMod CONTROL SHIFT, L, exec, swaylock +bind = $mainMod CONTROL SHIFT, L, exec, swaylock -c 263c59 +bind = $mainMod CONTROL SHIFT, S, exec, swaylock -c 263c59 +bind = $mainMod CONTROL SHIFT, S, exec, systemctl suspend bind = $mainMod, F, fullscreen, 0 bind = $mainMod, N, cyclenext, bind = $mainMod, P, cyclenext, prev @@ -76,4 +78,8 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod, right, workspace, m+1 bind = $mainMod, left, workspace, m-1 +bindm = $mainMod,mouse:272,movewindow +bindm = $mainMod,mouse:273,resizewindow + exec-once = waybar +exec-once = swayidle -w timeout 300 'swaylock -f -c 263c59' before-sleep 'swaylock -f -c 263c59'