aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/switch.d/kitty
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/mode/switch.d/kitty')
-rwxr-xr-x.local/share/mode/switch.d/kitty2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/share/mode/switch.d/kitty b/.local/share/mode/switch.d/kitty
index dddc41b..eeb81d0 100755
--- a/.local/share/mode/switch.d/kitty
+++ b/.local/share/mode/switch.d/kitty
@@ -1,4 +1,6 @@
#!/bin/sh
+[ $no_cfg -eq 1 ] && return
+
mkcd "$XDG_CONFIG_HOME/kitty"
cat << EOF > 'color.conf'