From 58d7429f5320ab2623c058145cf9062ca5c3d3f6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 9 Oct 2026 16:33:06 +0200 Subject: [PATCH] Select keyboard layouts and input methods in the Typing menu --- bin/omarchy-menu-select | 25 ++- bin/omarchy-setup-input | 7 +- bin/omarchy-setup-keyboard | 7 + default/hypr/input.lua | 2 +- default/hypr/keyboard.lua | 9 +- default/input-methods/typing.py | 188 ++++++++++++++++++ default/omarchy/omarchy-menu.jsonc | 4 +- docs/input-methods.md | 6 +- docs/menu.md | 3 + manual/34-keyboard-mouse-trackpad.md | 6 +- shell/plugins/menu/Menu.qml | 26 ++- shell/plugins/menu/MenuModel.js | 22 ++ test/shell.d/hyprland-keyboard-layout-test.sh | 12 ++ test/shell.d/typing-setup-checks.py | 90 +++++++++ test/shell.d/typing-setup-test.sh | 15 ++ 15 files changed, 407 insertions(+), 15 deletions(-) create mode 100755 bin/omarchy-setup-keyboard create mode 100644 default/input-methods/typing.py create mode 100644 test/shell.d/typing-setup-checks.py create mode 100644 test/shell.d/typing-setup-test.sh diff --git a/bin/omarchy-menu-select b/bin/omarchy-menu-select index 1404665f..b172c44e 100755 --- a/bin/omarchy-menu-select +++ b/bin/omarchy-menu-select @@ -1,9 +1,9 @@ #!/bin/bash -# omarchy:summary=Pick one option from a menu +# omarchy:summary=Pick one or multiple options from a menu # omarchy:group=menu # omarchy:name=select -# omarchy:args=prompt [option...] [-- menu args...] +# omarchy:args=prompt [option...] [-- --multiple --selected --width --maxheight ] # omarchy:examples=omarchy menu select Format jpg png|omarchy-menu-select Resolution 4k 1080p 720p -- --width 400 # An option may lead with an icon, as "