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 <david@hey.com>
This commit is contained in:
Manuel
2025-10-25 21:38:13 +02:00
committed by GitHub
parent b92beef294
commit 9b798c3c0f

View File

@@ -112,6 +112,11 @@ dynamic_bindings() {
-e 's/^77,/SUPER SHIFT CTRL ALT,/' -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 # Parse and format keybindings
# #
# `awk` does the heavy lifting: # `awk` does the heavy lifting:
@@ -211,9 +216,13 @@ menu_height=$((monitor_height * 40 / 100))
build_keymap_cache build_keymap_cache
dynamic_bindings | {
dynamic_bindings
static_bindings
} |
sort -u | sort -u |
parse_keycodes | parse_keycodes |
parse_bindings | parse_bindings |
prioritize_entries | prioritize_entries |
walker --dmenu -p 'Keybindings' --width 800 --height "$menu_height" walker --dmenu -p 'Keybindings' --width 800 --height "$menu_height"