update hypr display config

add bindls so that when the laptop is closed it only uses an external monitor
This commit is contained in:
Glen Goodwin 2023-09-02 13:40:41 -04:00
parent fe1b104a36
commit 4a9a41d62c

View file

@ -3,6 +3,12 @@
let
hyprlandConf = ''
monitor=,preferred,auto,auto
# trigger when the switch is turning off
bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1"
# trigger when the switch is turning on
bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
$mainMod=SUPER
general {