home/sway: use Qt v6.7's text-input-v3

This commit is contained in:
Guanran Wang 2024-05-31 01:55:40 +08:00
parent b027cd1479
commit bac328949f
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 4 additions and 8 deletions

View file

@ -19,16 +19,15 @@
services.udiskie.enable = true; services.udiskie.enable = true;
home.sessionVariables = { home.sessionVariables = {
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3 # NOTE: don't use "wayland" in GTK_IM_MODULE! it will crash X11 electron apps
GTK_IM_MODULE = lib.mkForce ""; # use text-input-v3
QT_IM_MODULE = lib.mkForce ""; # use text-input-v3
}; };
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
checkConfig = false; # wtf? checkConfig = false; # wtf?
extraOptions = [ extraOptions = ["--unsupported-gpu"];
"--unsupported-gpu"
#"-Dnoscanout"
];
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
systemd.xdgAutostart = true; systemd.xdgAutostart = true;
config = { config = {

View file

@ -12,9 +12,6 @@ in {
(prismlauncher.override {glfw = glfw-wayland-minecraft;}) (prismlauncher.override {glfw = glfw-wayland-minecraft;})
(steam.override { (steam.override {
extraEnv = { extraEnv = {
# https://github.com/ValveSoftware/steam-for-linux/issues/781#issuecomment-2004757379
GTK_IM_MODULE = "xim";
# STEAM_EXTRA_COMPAT_TOOLS_PATHS = gamePkgs.proton-ge; # STEAM_EXTRA_COMPAT_TOOLS_PATHS = gamePkgs.proton-ge;
}; };
}) })