Skip to content

Disable Internal (Laptop) Display on Lid Close #427

@curtisspendlove

Description

@curtisspendlove

My Framework 13 (2.8K Display upgrade) keeps the internal display awake even after the laptop lid is closed. This led to some fairly confusing behavior (including launching windows on the internal display--a LOT of them, since I just kept hitting the keybinds)

The following bindl directives have resolved this for me, in my testing it needs to be in hyprland.conf and not monitors.conf (binds? probably).

bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, auto"

I would like assistance testing this as I only have a single data point:

Framework 13 (I'll edit with stats in a bit)
ASUS ProArt 5K Display

PLEASE try if you are experiencing this on any laptop and I'd love non-framework feedback as well. My theory is that this is a problem for all internal displays but I'm unsure.

Prospective PR (in a fork so I can clean it up before I push the branch to upstream): knightoftheoldcode#1

TIA!

Ref: #332

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions