home,sway: unset GTK_IM_MODULE

This commit is contained in:
Guanran Wang 2023-11-04 20:52:55 +08:00
parent 3ad8fc3963
commit 7c3280f7c7
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,6 +1,7 @@
{ {
config, config,
pkgs, pkgs,
lib,
... ...
}: { }: {
programs.fish.loginShellInit = '' programs.fish.loginShellInit = ''
@ -9,6 +10,11 @@
end end
''; '';
home.sessionVariables = {
# TODO: what is the correct way to unset this
GTK_IM_MODULE = lib.mkForce ""; # use text-input-v3
};
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
extraOptions = ["--unsupported-gpu" "-D" "noscanout"]; extraOptions = ["--unsupported-gpu" "-D" "noscanout"];