aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/switch.d/fcitx5
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/mode/switch.d/fcitx5')
-rwxr-xr-x.local/share/mode/switch.d/fcitx52
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/share/mode/switch.d/fcitx5 b/.local/share/mode/switch.d/fcitx5
index 71880a7..d9d0032 100755
--- a/.local/share/mode/switch.d/fcitx5
+++ b/.local/share/mode/switch.d/fcitx5
@@ -1,4 +1,6 @@
#!/bin/sh
+[ $no_cfg -eq 1 ] && return
+
mkcd "$XDG_DATA_HOME/fcitx5/themes/default"
rounding=6
size=$(( 2 * $rounding + 4 ))