Start extracting omarchy helpers for cumbersome lua calls

This commit is contained in:
David Heinemeier Hansson
2026-05-14 11:13:37 +02:00
parent b26cd62334
commit 72bd02ca89
8 changed files with 222 additions and 188 deletions
+4 -4
View File
@@ -10,7 +10,7 @@ local function send_shortcut_once(mods, key)
end
end
hl.bind("SUPER + C", send_shortcut_once("CTRL", "Insert"), { description = "Universal copy" })
hl.bind("SUPER + V", send_shortcut_once("SHIFT", "Insert"), { description = "Universal paste" })
hl.bind("SUPER + X", send_shortcut_once("CTRL", "X"), { description = "Universal cut" })
hl.bind("SUPER + CTRL + V", hl.dsp.exec_cmd("omarchy-launch-walker -m clipboard"), { description = "Clipboard manager" })
o.bind("SUPER + C", "Universal copy", send_shortcut_once("CTRL", "Insert"))
o.bind("SUPER + V", "Universal paste", send_shortcut_once("SHIFT", "Insert"))
o.bind("SUPER + X", "Universal cut", send_shortcut_once("CTRL", "X"))
o.bind("SUPER + CTRL + V", "Clipboard manager", "omarchy-launch-walker -m clipboard")