From 9b798c3c0f7674041e4e28b81f7fbd33e37f9dc5 Mon Sep 17 00:00:00 2001 From: Manuel Date: Sat, 25 Oct 2025 21:38:13 +0200 Subject: [PATCH] Add the keybinding for the copy url extension in the SUPER+K Menu (#2801) * init * go with a hardcoded list * revert manifest modification --------- Co-authored-by: David Heinemeier Hansson --- bin/omarchy-menu-keybindings | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-menu-keybindings b/bin/omarchy-menu-keybindings index 225e528e..c9c785f2 100755 --- a/bin/omarchy-menu-keybindings +++ b/bin/omarchy-menu-keybindings @@ -112,6 +112,11 @@ dynamic_bindings() { -e 's/^77,/SUPER SHIFT CTRL ALT,/' } +# Hardcoded bindings, like the copy-url extension and such +static_bindings() { + echo "SHIFT ALT,L,Copy URL from Web App,extension,copy-url" +} + # Parse and format keybindings # # `awk` does the heavy lifting: @@ -211,9 +216,13 @@ menu_height=$((monitor_height * 40 / 100)) build_keymap_cache -dynamic_bindings | +{ + dynamic_bindings + static_bindings +} | sort -u | parse_keycodes | parse_bindings | prioritize_entries | walker --dmenu -p 'Keybindings' --width 800 --height "$menu_height" +