update hypr display config
add bindls so that when the laptop is closed it only uses an external monitor
This commit is contained in:
parent
fe1b104a36
commit
4a9a41d62c
1 changed files with 6 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue