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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user