We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67df389 commit 2782c57Copy full SHA for 2782c57
1 file changed
modules/IdleMonitors.qml
@@ -22,7 +22,7 @@ Scope {
22
else if (action === "unlock")
23
lock.lock.locked = false;
24
else if (typeof action === "string")
25
- Hypr.dispatch(Hypr.extras.usingLua ? `hl.dsp.dpms({ action = "${action === "dpms off" ? "disable" : "enable"}" })` : action);
+ Hypr.dispatch(Hypr.extras.usingLua && ["dpms off", "dpms on"].includes(action) ? `hl.dsp.dpms({ action = "${action === "dpms off" ? "disable" : "enable"}" })` : action);
26
else
27
Quickshell.execDetached(action);
28
}
0 commit comments