mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-01 23:45:45 +02:00
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";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
DISPLAY = ":0";
|
DISPLAY = ":0";
|
||||||
GTK_IM_MODULE = "fcitx";
|
|
||||||
QT_IM_MODULE = "fcitx";
|
QT_IM_MODULE = "fcitx";
|
||||||
XMODIFIERS = "@im=fcitx";
|
XMODIFIERS = "@im=fcitx";
|
||||||
SDL_IM_MODULE = "fcitx";
|
SDL_IM_MODULE = "fcitx";
|
||||||
|
@ -60,7 +60,6 @@ in
|
|||||||
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
||||||
env=XCURSOR_SIZE,24
|
env=XCURSOR_SIZE,24
|
||||||
env=BROWSER,librewolf
|
env=BROWSER,librewolf
|
||||||
env=GTK_IM_MODULE,fcitx
|
|
||||||
env=QT_IM_MODULE,fcitx
|
env=QT_IM_MODULE,fcitx
|
||||||
env=XMODIFIERS,@im=fcitx
|
env=XMODIFIERS,@im=fcitx
|
||||||
env=SDL_IM_MODULE,fcitx
|
env=SDL_IM_MODULE,fcitx
|
||||||
|
@ -3,8 +3,14 @@
|
|||||||
{
|
{
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
i18n.inputMethod.enabled = "fcitx5";
|
i18n.inputMethod = {
|
||||||
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
enabled = "fcitx5";
|
||||||
|
|
||||||
|
fcitx5 = {
|
||||||
|
addons = with pkgs; [ fcitx5-mozc ];
|
||||||
|
waylandFrontend = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.pam.services.swaylock = { };
|
security.pam.services.swaylock = { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user