diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-25 17:16:54 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-25 17:16:54 +0100 |
commit | 1ffdbf90fb18b2268b6cd2bbd0ff13b87ce78381 (patch) | |
tree | 32219aea9790ed900a676789d88443c906a58a5f /nixpkgs | |
parent | 4221ef11fe8b0993f420954a76e2c37db2b1df56 (diff) | |
download | user-config-1ffdbf90fb18b2268b6cd2bbd0ff13b87ce78381.tar.gz user-config-1ffdbf90fb18b2268b6cd2bbd0ff13b87ce78381.zip |
configure japanese input method using fcitx5
Diffstat (limited to 'nixpkgs')
-rw-r--r-- | nixpkgs/common.nix | 1 | ||||
-rw-r--r-- | nixpkgs/icewm.nix | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index 07f6a07..21b941d 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -47,6 +47,7 @@ ".vim/coc-settings.json".source = ../vim/coc-settings.json; ".config/tmux/tmux.conf".source = ../tmux/tmux.conf; ".config/qutebrowser/config.py".source = ../qutebrowser/config.py; + ".config/fcitx5/profile".source = ../fcitx5/profile; }; services.syncthing.enable = true; diff --git a/nixpkgs/icewm.nix b/nixpkgs/icewm.nix index 6897ca0..2a33c0d 100644 --- a/nixpkgs/icewm.nix +++ b/nixpkgs/icewm.nix @@ -6,6 +6,11 @@ home.file = { ".config/sx/sxrc".executable = true; ".config/sx/sxrc".text = '' + export XMODIFIERS="@im=fcitx" + export XMODIFIER="@im=fcitx" + export GTK_IM_MODULE="fcitx" + export QT_IM_MODULE="fcitx" + fcitx5 & ${pkgs.xorg.xsetroot}/bin/xsetroot -solid "#008080" ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../xkb/symbols/custom-fr} $DISPLAY xset s off |