From d0a13dc52d27e4204225b6dc3304955d92370d62 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Wed, 27 Dec 2023 16:22:20 +0100 Subject: [PATCH] buran/hyprland: exec screenlock on lid close --- tree/.config/hypr/hyprland.conf.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tree/.config/hypr/hyprland.conf.tpl b/tree/.config/hypr/hyprland.conf.tpl index d827392..e914691 100644 --- a/tree/.config/hypr/hyprland.conf.tpl +++ b/tree/.config/hypr/hyprland.conf.tpl @@ -149,6 +149,10 @@ bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, F, fullscreen, +{% if hostname == "buran" %} +bindl=,switch:Lid Switch,exec,screenlock +{% end %} + bindl = , xf86audiolowervolume, exec, voldown bindl = , xf86audioraisevolume, exec, volup bindl = , xf86audiomute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle