feat: finish migrate
This commit is contained in:
@@ -4,27 +4,32 @@ end
|
||||
|
||||
hl.define_submap("notifications", function()
|
||||
hl.bind("c", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("swaync-client --hide-all"))
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications dismissAllPopups"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
hl.bind("d", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("swaync-client --clear-all"))
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications clearAll"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
hl.bind("m", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications toggleDoNotDisturb"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
hl.bind("h", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("swaync-client -cp"))
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications close"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
hl.bind("s", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("swaync-client -op"))
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications open"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
hl.bind("t", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("swaync-client -t"))
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call notifications toggle"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user