Skip to content

Commit

Permalink
feat: japanese ime
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz committed Mar 21, 2024
1 parent 175bcd3 commit 874f8dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
LC_TIME = "en_US.utf8";
};

# Japanese IME.
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.waylandFrontend = true;
fcitx5.addons = with pkgs; [fcitx5-mozc fcitx5-gtk];
};

# Enable sound with pipewire.
security.rtkit.enable = true;
services.pipewire = {
Expand Down
3 changes: 3 additions & 0 deletions modules/desktop/hyprland/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ in {
# Change background.
bind=SUPERSHIFT,K,exec,killall -q swaybg -9; swaybg -i "$(find ~/Pictures/Wallpapers -type f | shuf -n 1)" -m fill
# Japanese IME.
exec-once=fcitx5
# Start some applications in the background.
exec-once=~/.config/hypr/autostart.sh
'';
Expand Down

0 comments on commit 874f8dd

Please sign in to comment.