feat: prepare for DMS removal

This commit is contained in:
2026-08-21 11:20:15 +02:00
parent 2ab86906c7
commit dce6a6cafb
24 changed files with 432 additions and 61 deletions
+6 -6
View File
@@ -4,32 +4,32 @@ end
hl.define_submap("notifications", function()
hl.bind("c", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications dismissAllPopups"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client --hide-all"))
exit_submap()
end, { description = "Hide notifications" })
hl.bind("d", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications clearAll"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client --close-all"))
exit_submap()
end, { description = "Delete all notifications" })
hl.bind("m", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications toggleDoNotDisturb"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client -d"))
exit_submap()
end, { description = "Toggle Do Not Disturb" })
hl.bind("h", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications close"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client -cp"))
exit_submap()
end, { description = "Close notification panel" })
hl.bind("s", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications open"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client -op"))
exit_submap()
end, { description = "Open notification panel" })
hl.bind("t", function()
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications toggle"))
hl.dispatch(hl.dsp.exec_cmd("swaync-client -t"))
exit_submap()
end, { description = "Toggle notification panel" })