diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b0e6a1c..b62cd4e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -5,8 +5,12 @@ # # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,preferred,auto,auto -monitor=eDP-1,1920x1080@60,0x0,1 +# List monitors: +# $ hyprctl monitors +monitor = ,highres,auto,1 +# Enable or disable eDP-1 depending on the lid switch +bindl = ,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1,highres,auto,1" +bindl = ,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" # See https://wiki.hyprland.org/Configuring/Keywords/ for more