yadm-config/.config/hypr/config/Monitors.conf##class.Laptop

20 lines
699 B
Text

# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Monitor Configuration
# See Hyprland wiki for more details
# https://wiki.hyprland.org/Configuring/Monitors/
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
$primary=eDP-1
$secondary=HDMI-A-1
monitor=$primary, preferred, 0x0, 1
monitor=$secondary, preferred, auto-up, 2
exec=xrandr --output $primary --primary
# trigger when the switch is turning off
bindlt = , switch:off:Lid Switch,exec,hyprctl dispatch dpms on
# trigger when the switch is turning on
bindlt = , switch:on:Lid Switch,exec,hyprctl dispatch dpms off
bindlt = SUPER, SPACE, exec, hyprctl dispatch dpms on