Refactor the monitor config
This commit is contained in:
parent
9e17f38965
commit
6a24720a3a
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue