Closing/opening lid will toggle internal monitor on/off

This commit is contained in:
David Heinemeier Hansson committed 2026-04-19 17:34:34 +02:00
1 parent fa48d2398b
commit 2b323459df
7 files changed
+38 -18

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# Returns true when no monitors are connected
(( $(hyprctl monitors -j 2>/dev/null | jq length) == 0 ))