aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/mode/switch.d/executable_kitty
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/mode/switch.d/executable_kitty')
-rw-r--r--home/dot_local/share/mode/switch.d/executable_kitty27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/dot_local/share/mode/switch.d/executable_kitty b/home/dot_local/share/mode/switch.d/executable_kitty
new file mode 100644
index 0000000..eeb81d0
--- /dev/null
+++ b/home/dot_local/share/mode/switch.d/executable_kitty
@@ -0,0 +1,27 @@
+#!/bin/sh
+[ $no_cfg -eq 1 ] && return
+
+mkcd "$XDG_CONFIG_HOME/kitty"
+
+cat << EOF > 'color.conf'
+background $bg
+foreground $fg
+
+color0 $color0
+color1 $color1
+color2 $color2
+color3 $color3
+color4 $color4
+color5 $color5
+color6 $color6
+color7 $color7
+color8 $color8
+color9 $color9
+color10 $color10
+color11 $color11
+color12 $color12
+color13 $color13
+color14 $color14
+color15 $color15
+EOF
+