From 28b642bff1dbf498ecf911b0642567d0ffec0839 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 13 Apr 2025 16:40:17 +0800 Subject: [PATCH] fix: hyprland v0.48.0 - breaking changes - windowrulev2 --- home/linux/gui/hyprland/conf/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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