sway: Fix fcitx5
This commit is contained in:
parent
126c446b99
commit
1dd0ba034f
@ -52,7 +52,7 @@ in {
|
||||
{ command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; always = true; }
|
||||
{ command = "${swayIdleWrapper}"; always = true; }
|
||||
] ++ lib.optional config.ptw.system.i18n.enable {
|
||||
command = "${pkgs.fcitx5}/bin/fcitx -d";
|
||||
command = "${pkgs.fcitx5}/bin/fcitx5 -d";
|
||||
always = true;
|
||||
};
|
||||
modifier = "${modifier}";
|
||||
|
@ -8,9 +8,12 @@ in {
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# TODO: mozc cannot be configured for some reason
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx";
|
||||
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
||||
fcitx.engines = with pkgs.fcitx-engines; [ mozc ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ fcitx5-configtool fcitx5-gtk ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user