add hypr-lid service for clamshell and delayed lid sleep

This commit is contained in:
2026-08-14 18:16:31 -06:00
parent 96c4d36714
commit db72a5a635
6 changed files with 136 additions and 5 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
-- Generated by nwg-displays on 2026-05-12 at 10:26:18. Do not edit manually.
-- External displays (docked layout). The built-in panel is managed at runtime
-- by hypr-lid: it is enabled here, then disabled while the lid is closed with
-- external displays attached (clamshell). See hyprland/.local/bin/hypr-lid.sh.
-- See https://wiki.hypr.land/Configuring/Basics/Monitors/ for more
hl.monitor({ output = "desc:BOE 0x0BC9", disabled = true })
hl.monitor({ output = "desc:BOE 0x0BC9", mode = "preferred", position = "0x0", scale = 1.0 })
hl.monitor({ output = "desc:Viewteck Co. Ltd. GNV34DB", mode = "3440x1440@50.0", position = "3795x1785", scale = 1.0 })
hl.monitor({ output = "desc:Dell Inc. DELL U2515HX GMDK46C4053L", mode = "2560x1440@59.95", position = "5488x345", scale = 1.0 })
hl.monitor({ output = "desc:Dell Inc. DELL U2518D 0WG2J9C5B3WL", mode = "2560x1440@59.95", position = "2928x345", scale = 1.0 })