diff --git a/scripts/core/sxmo_wm.sh b/scripts/core/sxmo_wm.sh index e35eba3..a90a181 100755 --- a/scripts/core/sxmo_wm.sh +++ b/scripts/core/sxmo_wm.sh @@ -25,9 +25,9 @@ xorgdpms() { swaydpms() { STATE=off - if swaymsg -t get_outputs \ + if ! swaymsg -t get_outputs \ | jq ".[] | .dpms" \ - | grep -q "false"; then + | grep -q "true"; then STATE=on fi