added dpms bind to hyprland

This commit is contained in:
2025-08-02 03:19:32 +02:00
parent 2ecced441d
commit d538e44a46
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Toggle DPMS for ALL monitors
if hyprctl monitors -j | jq -e '.[].dpmsStatus' | grep -q true; then
hyprctl dispatch dpms off # all off
else
hyprctl dispatch dpms on # all on
fi