moved lid open/close actions to shell scripts and reflected it in the hyprland config
This commit is contained in:
@@ -195,9 +195,9 @@ bind = , XF86MonBrightnessDown, exec, sudo brightnessctl s "10%-"
|
||||
#lid binds
|
||||
#bindl = , switch:on:Lid Switch, exec, swaylock --screenshots --effect-blur 7x5 --clock
|
||||
# trigger when the switch is turning off
|
||||
bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, 0x0, 1"
|
||||
bindl = , switch:off:Lid Switch,exec,~/bin/lid_open.sh
|
||||
# # trigger when the switch is turning on
|
||||
bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
|
||||
bindl = , switch:on:Lid Switch,exec,~/bin/lid_close.sh
|
||||
|
||||
# Desktop zooming or magnifier
|
||||
bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')"
|
||||
|
||||
Reference in New Issue
Block a user