qwdhjqiowdqiowjd

This commit is contained in:
2025-05-06 22:53:14 -05:00
parent 5964c6fc49
commit 89be2cd52c
3 changed files with 33 additions and 0 deletions

12
modules/hypr/screenON Executable file
View File

@@ -0,0 +1,12 @@
# Your main monitor (change this)
MONITOR="DP-1"
# Turn monitor back on (you may want to change these options)
hyprctl keyword monitor $MONITOR,highrr,auto,1
# Get name of headless display
HEADLESS=$(hyprctl -j monitors | jq -r '.[] | select(.name | test("HEADLESS-"; "i")).name')
# Remove headless virtual display
hyprctl output remove "$HEADLESS"