Use Super+I for input switching independently of Fcitx keys

This commit is contained in:
David Heinemeier Hansson committed 2026-10-09 13:41:17 +02:00
1 parent d040abb66f
commit e0e6225fac
10 files changed
+24 -12

No files matched your search

+8
View File
@@ -33,6 +33,14 @@ local function has_input_method()
return found
end
-- Keep the desktop shortcut independent of Fcitx's custom switching keys.
-- Checking the profile on demand lets live setup work without a reload.
o.bind("SUPER + I", "Switch input language", function()
if has_input_method() then
hl.exec_cmd("fcitx5-remote --check -t")
end
end)
-- Preserve custom Ctrl + Space triggers. Without a
-- [Hotkey/TriggerKeys] list in the config, fcitx5 uses its default, which has
-- Ctrl + Space.