added dpms bind to hyprland
This commit is contained in:
8
.config/hypr/scripts/dpms_toggle.sh
Executable file
8
.config/hypr/scripts/dpms_toggle.sh
Executable 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
|
||||
|
Reference in New Issue
Block a user