diff --git a/nix/configurations/vanadium/home/xmonad/xmonad.hs b/nix/configurations/vanadium/home/xmonad/xmonad.hs index 7acc4da2..90f8e80e 100644 --- a/nix/configurations/vanadium/home/xmonad/xmonad.hs +++ b/nix/configurations/vanadium/home/xmonad/xmonad.hs @@ -242,11 +242,16 @@ myStartupHook = do spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY" io $ do + let setEnv' k v = setEnv k v False -- This is done here because: - -- - setting `home.sessionVariable` (home-manager) would only effect shells, probably due to the order of launched processes blah blah + -- - setting `home.sessionVariable` (home-manager) would only effect shells because xmonad is configured with NixOS modules -- - setting `environment.sessionVariables` (NixOS) would make my set up less portable - putEnv "GLFW_IM_MODULE=ibus" -- Make sure kitty knows how to talk to fcitx - putEnv "MOZ_USE_XINPUT2=1" -- Force touchpad for firefox + setEnv' "GTK_IM_MODULE" "fcitx" + setEnv' "QT_IM_MODULE" "fcitx" + setEnv' "XMODIFIERS" "@im=fcitx" + setEnv' "GLFW_IM_MODULE" "ibus" + + setEnv' "MOZ_USE_XINPUT2" "1" -- Force touchpad for firefox removedKeybinds :: [(KeyMask, KeySym)] removedKeybinds =