From dedb462a48b1541732514d98b40fa1b1109b7f05 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 Aug 2024 10:46:48 -0400 Subject: [PATCH] dwm: Add fcitx5 support --- specializations/dwm.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specializations/dwm.nix b/specializations/dwm.nix index 7fd01602..486f3c73 100644 --- a/specializations/dwm.nix +++ b/specializations/dwm.nix @@ -20,6 +20,11 @@ in export XDG_SESSION_TYPE=x11 export GDK_BACKEND=x11 export XDG_CURRENT_DESKTOP=dwm + export GTK_IM_MODULE=fcitx + export QT_IM_MODULE=fcitx + export XMODIFIERS=@im=fcitx + export SDL_IM_MODULE=fcitx + export GLFW_IM_MODULE=ibus xrdb -merge ~/.Xresources xset r rate 300 50 @@ -32,6 +37,8 @@ in picom --backend glx --vsync --shadow --fading --blur-background --blur-method dual_kawase --blur-size 10 --daemon + fcitx5 & + while true; do dwm >/dev/null 2>&1 done