From d57cd657c9477f4514e93e5ff6c9dd85450d96ea Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 5 Aug 2023 17:21:05 +0900 Subject: feat(home/gui): start inputMethod on sway startup --- home/profiles/gui/config/sway.nix | 4 +++- home/profiles/gui/default.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix index 5577baf..eb4248c 100644 --- a/home/profiles/gui/config/sway.nix +++ b/home/profiles/gui/config/sway.nix @@ -1,4 +1,4 @@ -{ pkgs, neotheme }: +{ config, pkgs, neotheme }: with neotheme.colors; @@ -8,6 +8,8 @@ with neotheme.colors; exec autotiling + exec ${config.i18n.inputMethod.enabled} # assume binary name == option name + # set modifiers set $mod Mod4 set $alt Mod1 diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index 1a4086f..32a6d47 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -86,7 +86,7 @@ in export XDG_CURRENT_DESKTOP=sway; ''; - extraConfig = import ./config/sway.nix { inherit pkgs neotheme; }; + extraConfig = import ./config/sway.nix { inherit config pkgs neotheme; }; }; i18n.inputMethod.enabled = "fcitx5"; -- cgit 1.4.1