mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
vanadium/xmonad: fix environment variables
This commit is contained in:
parent
6b0c07505c
commit
34775054b2
1 changed files with 8 additions and 3 deletions
|
|
@ -242,11 +242,16 @@ myStartupHook = do
|
||||||
spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY"
|
spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY"
|
||||||
|
|
||||||
io $ do
|
io $ do
|
||||||
|
let setEnv' k v = setEnv k v False
|
||||||
-- This is done here because:
|
-- 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
|
-- - 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
|
setEnv' "GTK_IM_MODULE" "fcitx"
|
||||||
putEnv "MOZ_USE_XINPUT2=1" -- Force touchpad for firefox
|
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 :: [(KeyMask, KeySym)]
|
||||||
removedKeybinds =
|
removedKeybinds =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue