mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: keep some env var config
Revert "home/firefox: set MOZ_USE_XINPUT2=1" This reverts commit7e5116f55d. Revert "home/fcitx: set GLFW_IM_MODULE" This reverts commit7d949dcce2.
This commit is contained in:
parent
cf806d7064
commit
808dfa95ae
3 changed files with 8 additions and 8 deletions
|
|
@ -24,6 +24,7 @@ import XMonad.Util.SpawnOnce
|
|||
|
||||
import Data.Map.Strict qualified as M
|
||||
import Graphics.X11.ExtraTypes.XF86
|
||||
import System.Posix
|
||||
|
||||
import Leanamonad.Layouts.ReflectMsg
|
||||
import Leanamonad.GreekChar
|
||||
|
|
@ -77,6 +78,13 @@ main =
|
|||
-- https://wiki.archlinux.org/title/GNOME/Keyring#Using_gnome-keyring-daemon_outside_desktop_environments_(KDE,_GNOME,_XFCE,_...)
|
||||
spawn "dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY"
|
||||
|
||||
io $ do
|
||||
-- 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 `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
|
||||
|
||||
, layoutHook =
|
||||
let tallr = reflectMsg . reflectHoriz
|
||||
$ ResizableTall 1 (1/10) (3/7) []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue