From 7c3280f7c700cf984baf96e6e8806e0930cc45bd Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 4 Nov 2023 20:52:55 +0800 Subject: [PATCH] home,sway: unset GTK_IM_MODULE --- users/guanranwang/home-manager/nixos/sway.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/guanranwang/home-manager/nixos/sway.nix b/users/guanranwang/home-manager/nixos/sway.nix index 475cf20..eefa48d 100644 --- a/users/guanranwang/home-manager/nixos/sway.nix +++ b/users/guanranwang/home-manager/nixos/sway.nix @@ -1,6 +1,7 @@ { config, pkgs, + lib, ... }: { programs.fish.loginShellInit = '' @@ -9,6 +10,11 @@ end ''; + home.sessionVariables = { + # TODO: what is the correct way to unset this + GTK_IM_MODULE = lib.mkForce ""; # use text-input-v3 + }; + wayland.windowManager.sway = { enable = true; extraOptions = ["--unsupported-gpu" "-D" "noscanout"];