diff --git a/modules/home/users/msyds/fcitx5.nix b/modules/home/users/msyds/fcitx5.nix index b0d88da..a351592 100644 --- a/modules/home/users/msyds/fcitx5.nix +++ b/modules/home/users/msyds/fcitx5.nix @@ -22,12 +22,23 @@ in { settings = { # Bind QuickPhrase to `s-;`. addons."quickphrase".sections = { + # 나는 이모지만 원하니까 영어를 추천하지 맒. + globalOptions.Spell = false; TriggerKey."0" = "Super+semicolon"; }; + # ⟨n⟩ 키를 눌러 ⟨n⟩번째 자판을 활성화함 + addons."imselector".sections.SwitchKeyLocal = + lib.genAttrs' + [0 1 2 3 4] + (n: { + name = toString n; + value = "Control+Super+${toString (n+1)}"; + }); + globalOptions = { - # Disable shift to toggle. I accidentally press it all - # the time. 날 미치게 만들어요. + # Disable the tapping of shift to toggle an input method. + # I accidentally press it all the time. 미치겠네, 진짜. Hotkey.AltTriggerKeys = ""; }; @@ -44,8 +55,8 @@ in { DefaultIM = "sydmath"; }; "Groups/0/Items/0".Name = "keyboard-us"; - "Groups/0/Items/1".Name = "sydmath"; - "Groups/0/Items/2".Name = "hangul"; + "Groups/0/Items/1".Name = "hangul"; + "Groups/0/Items/2".Name = "sydmath"; "Groups/0/Items/3".Name = "ipa-x-sampa"; }; };