forked from extern/nix-config
fcitx: Use wayland front-end for GTK
Fixes the warning notification shown on boot.
This commit is contained in:
parent
4a7d310d9f
commit
bb3792d748
@ -41,7 +41,6 @@
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||
DISPLAY = ":0";
|
||||
GTK_IM_MODULE = "fcitx";
|
||||
QT_IM_MODULE = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
SDL_IM_MODULE = "fcitx";
|
||||
|
@ -60,7 +60,6 @@ in
|
||||
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
||||
env=XCURSOR_SIZE,24
|
||||
env=BROWSER,librewolf
|
||||
env=GTK_IM_MODULE,fcitx
|
||||
env=QT_IM_MODULE,fcitx
|
||||
env=XMODIFIERS,@im=fcitx
|
||||
env=SDL_IM_MODULE,fcitx
|
||||
|
@ -3,8 +3,14 @@
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
i18n.inputMethod.enabled = "fcitx5";
|
||||
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
|
||||
fcitx5 = {
|
||||
addons = with pkgs; [ fcitx5-mozc ];
|
||||
waylandFrontend = true;
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user