vanadium: environment variable fixes

This commit is contained in:
Primrose 2025-03-05 15:31:19 +01:00
parent e625f0a921
commit f87fc428d0
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 8 additions and 7 deletions

View file

@ -27,6 +27,8 @@ import XMonad.Util.Hacks (javaHack)
import XMonad.StackSet qualified as W
import Graphics.X11.ExtraTypes.XF86
import System.Posix.Env (putEnv)
import Leanamonad.Layouts.ReflectMsg
@ -65,6 +67,10 @@ main = xmonad
spawnOnce "playerctld daemon" -- Player controller
spawn "feh --no-fehbg --bg-fill ~/.wallpaper &" -- wallpaper
io (putEnv "QT_SCALE_FACTOR=1.25") -- Fix problem where digikam is too small
-- https://bugs.kde.org/show_bug.cgi?id=427662
io (putEnv "GLFW_IM_MODULE=ibus" ) -- Make sure kitty knows how to talk to fcitx
, layoutHook =
let tallr = limitSlice limitorDefault
. reflectMsg . reflectHoriz
@ -187,7 +193,7 @@ main = xmonad
])
myTerm :: String
myTerm = "GLFW_IM_MODULE=ibus kitty"
myTerm = "kitty"
superMask, altMask :: KeyMask
superMask = mod4Mask