1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-15 00:32:47 -04:00

Support Hyprland lua dispatching (#2419)

This commit is contained in:
Boris
2026-05-14 19:08:07 +02:00
committed by GitHub
parent 018795125e
commit 66e38c5efe
8 changed files with 87 additions and 21 deletions
+2 -2
View File
@@ -682,7 +682,7 @@ Singleton {
if (isNiri)
return NiriService.powerOffMonitors();
if (isHyprland)
return Hyprland.dispatch("dpms off");
return HyprlandService.dpmsOff();
if (isDwl)
return _dwlPowerOffMonitors();
if (isSway || isScroll || isMiracle) {
@@ -701,7 +701,7 @@ Singleton {
if (isNiri)
return NiriService.powerOnMonitors();
if (isHyprland)
return Hyprland.dispatch("dpms on");
return HyprlandService.dpmsOn();
if (isDwl)
return _dwlPowerOnMonitors();
if (isSway || isScroll || isMiracle) {