# /* ---- 💫 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, 1 exec=xrandr --output $primary --primary # trigger when the switch is turning off bindl = , switch:off:Lid Switch,exec,hyprctl dispatch dpms on # trigger when the switch is turning on bindl = , switch:on:Lid Switch,exec,hyprctl dispatch dpms off bind = SUPER, P, exec, hyprctl dispatch dpms on