diff --git a/home/linux/gui/hyprland/conf/hyprland.conf b/home/linux/gui/hyprland/conf/hyprland.conf index 4bb3bd73..cf269e80 100644 --- a/home/linux/gui/hyprland/conf/hyprland.conf +++ b/home/linux/gui/hyprland/conf/hyprland.conf @@ -187,7 +187,7 @@ bind=SUPER,mouse_up,workspace,e-1 exec-once=~/.config/hypr/scripts/startup # -- Fcitx5 input method -windowrule=pseudo,fcitx # enable this will make fcitx5 works, but fcitx5-configtool will not work! +windowrule=pseudo,class:^(fcitx)$ # enable this will make fcitx5 works, but fcitx5-configtool will not work! exec-once=cp ~/.config/fcitx5/profile-bak ~/.config/fcitx5/profile # restore fcitx5 profile managed by nixos exec-once=fcitx5 -d --replace # start fcitx5 daemon bind=ALT,E,exec,pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r