fix: make fcitx5's config dir readonly, to avoid other tools overwrite it

This commit is contained in:
ryan4yin
2023-05-08 23:58:55 +08:00
parent 188607b2ae
commit c0b1c5cba1
3 changed files with 11 additions and 12 deletions
+3 -1
View File
@@ -193,7 +193,9 @@ exec-once=~/.config/hypr/scripts/startup
#-- Fcitx5 input method ----------------------------------------------------
windowrule=pseudo,fcitx
windowrule=pseudo,fcitx # enable this will make fcitx5 works, but fcitx5-configtool will not work!
# set fcitx5's config dir readonly
exec-once=chmod 500 ~/.config/fcitx5
exec-once=fcitx5-remote -r
exec-once=fcitx5 -d --replace
exec-once=fcitx5-remote -r