mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 22:57:17 +02:00
fix: make fcitx5's config dir readonly, to avoid other tools overwrite it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user