Refactor the monitor config

This commit is contained in:
Rodolphe Bréard 2023-10-21 16:29:24 +02:00
parent 9e17f38965
commit 6a24720a3a

View file

@ -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