summaryrefslogtreecommitdiff
path: root/hosts/local/sway.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-26 01:03:18 +0700
committerpolwex <polwex@sortug.com>2025-10-26 01:03:18 +0700
commit024b7a90a30aa645dd5910cd95ab8d1e7682ef99 (patch)
tree24a0443f1a468e682e974da27869a28397a5a597 /hosts/local/sway.nix
parent6286666f5146b9214a950403d0fd53f13c35e4c1 (diff)
fcitx ded
Diffstat (limited to 'hosts/local/sway.nix')
-rw-r--r--hosts/local/sway.nix20
1 files changed, 1 insertions, 19 deletions
diff --git a/hosts/local/sway.nix b/hosts/local/sway.nix
index 0fb8020..30834c3 100644
--- a/hosts/local/sway.nix
+++ b/hosts/local/sway.nix
@@ -69,14 +69,9 @@
_JAVA_AWT_WM_NONREPARENTING = "1";
MOZ_ENABLE_WAYLAND = "1";
- # GTK_IM_MODULE = "fcitx";
- # QT_IM_MODULE = "fcitx";
- # SDL_IM_MODULE = "fcitx";
-
XDG_CURRENT_DESKTOP = "sway";
GDK_BACKEND = "wayland";
XDG_SESSION_TYPE = "wayland";
- XMODIFIERS = "@im=fcitx";
};
environment.systemPackages = with pkgs; [
@@ -113,20 +108,7 @@
# cjk input
i18n.inputMethod = {
- type = "fcitx5";
- enable = true;
- fcitx5 = {
- # enabled = true;
- addons = with pkgs; [
- rime-data
- fcitx5-rime
- fcitx5-mozc
- fcitx5-configtool
- fcitx5-chinese-addons
- fcitx5-gtk
- ];
- waylandFrontend = true;
- };
+ waylandFrontend = true;
};
services.xserver.desktopManager.runXdgAutostartIfNone = true;