39 lines
2.4 KiB
Lua
39 lines
2.4 KiB
Lua
-- DMS user keybind overrides (edit via Control Center or dms; do not remove this header)
|
|
|
|
hl.unbind("CTRL + SHIFT + Escape")
|
|
hl.bind("CTRL + SHIFT + Escape", hl.dsp.exec_cmd("dms ipc call processlist focusOrToggle"), { description = "dms ipc call processlist focusOrToggle" })
|
|
hl.unbind("SUPER + CTRL + S")
|
|
hl.bind("SUPER + CTRL + S", hl.dsp.exec_cmd("dms ipc call quickCapture screenshot window edit"), { description = "screenshot window" })
|
|
hl.unbind("SUPER + I")
|
|
hl.bind("SUPER + I", hl.dsp.exec_cmd("dms ipc notifications toggle"), { description = "notification toggle" })
|
|
hl.unbind("SUPER + N")
|
|
hl.bind("SUPER + N", hl.dsp.exec_cmd("dms ipc call notepad toggle"), { description = "dms ipc call notepad toggle" })
|
|
hl.unbind("SUPER + O")
|
|
hl.bind("SUPER + O", hl.dsp.exec_cmd("dms ipc call lock lock"), { description = "dms ipc call lock lock" })
|
|
hl.unbind("SUPER + SHIFT + B")
|
|
hl.bind("SUPER + SHIFT + B", hl.dsp.exec_cmd("dms ipc call mpris previous"), { locked = true, description = "dms ipc call mpris previous" })
|
|
hl.unbind("SUPER + SHIFT + N")
|
|
hl.bind("SUPER + SHIFT + N", hl.dsp.exec_cmd("dms ipc call mpris next"), { locked = true, description = "dms ipc call mpris next" })
|
|
hl.unbind("SUPER + SHIFT + P")
|
|
hl.bind("SUPER + SHIFT + P", hl.dsp.exec_cmd("dms ipc call mpris playPause"), { locked = true, description = "dms ipc call mpris playPause" })
|
|
hl.unbind("SUPER + SHIFT + S")
|
|
hl.bind("SUPER + SHIFT + S", hl.dsp.exec_cmd("dms ipc call quickCapture screenshot region edit"), { description = "screenshot region" })
|
|
hl.unbind("SUPER + SHIFT + T")
|
|
hl.bind("SUPER + SHIFT + T", hl.dsp.exec_cmd("dms ipc call timer toggle"), { description = "timer toggle" })
|
|
hl.unbind("SUPER + B")
|
|
hl.bind("SUPER + B", hl.dsp.exec_cmd("brave"))
|
|
hl.unbind("SUPER + E")
|
|
hl.bind("SUPER + E", hl.dsp.exec_cmd("thunar"))
|
|
hl.unbind("SUPER + SHIFT + O")
|
|
hl.bind("SUPER + SHIFT + O", hl.dsp.dpms({ action = "toggle" }), { description = "dpms toggle" })
|
|
hl.unbind("CTRL + ALT + Delete")
|
|
hl.unbind("CTRL + SHIFT + T")
|
|
hl.unbind("SUPER + C")
|
|
hl.bind("SUPER + C", hl.dsp.window.close(), { description = "Close window" })
|
|
hl.unbind("SUPER + CTRL + F")
|
|
hl.unbind("SUPER + F")
|
|
hl.bind("SUPER + F", hl.dsp.window.float({ action = "toggle" }), { description = "Float/unfloat window" })
|
|
hl.unbind("SUPER + M")
|
|
hl.bind("SUPER + M", hl.dsp.window.fullscreen({ mode = "maximized", action = "toggle" }), { description = "Toggle maximization" })
|
|
hl.unbind("SUPER + Q")
|