aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-28 12:37:26 +0200
committerDanilo M. <danix@danix.xyz>2026-09-28 12:37:26 +0200
commitbaa3655eed2157536dbefb14f3b9b535fe7b320b (patch)
treee4227d02bc249df49b9aa0075edd5d408b5f3ba8
parentb59aee53a6a3ed77d6524ea57f1268d54df0c319 (diff)
downloadkitty-conf-baa3655eed2157536dbefb14f3b9b535fe7b320b.tar.gz
kitty-conf-baa3655eed2157536dbefb14f3b9b535fe7b320b.zip
Enable kitty 0.49 custom shadersHEADmaster
Load cursor-trail-lightning, dim-inactive-windows, tab-change and focus-highlight. Override the bundled tab-change pipeline to use the iris reveal at 400ms instead of the 600ms wipe. The shaders dir is symlinked into ~/.config/kitty like the other files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--README.md6
-rw-r--r--kitty.conf3
-rw-r--r--shaders/tab-change.pipeline9
3 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6eff2c4..2964fba 100644
--- a/README.md
+++ b/README.md
@@ -6,13 +6,15 @@ My [kitty](https://sw.kovidgoyal.net/kitty/) terminal configuration.
- `session.conf`: startup session (tabs and layouts)
- `current-theme.conf`: colours, generated by `udt-palette` from the
unified-desktop-theme project. Do not edit by hand.
+- `shaders/`: custom shader pipelines (kitty >= 0.49), overriding the
+ bundled ones of the same name
## Install
-Symlink the files into kitty's config dir:
+Symlink the files and the shaders dir into kitty's config dir:
```sh
-for f in kitty.conf session.conf current-theme.conf; do
+for f in kitty.conf session.conf current-theme.conf shaders; do
ln -sfn "$PWD/$f" ~/.config/kitty/$f
done
```
diff --git a/kitty.conf b/kitty.conf
index b39ea4b..b9e1fa4 100644
--- a/kitty.conf
+++ b/kitty.conf
@@ -34,6 +34,9 @@ cursor_trail 200
cursor_trail_decay 0.1 0.4
cursor_trail_start_threshold 2
+# custom shaders (kitty >= 0.49)
+custom_shaders cursor-trail-lightning dim-inactive-windows tab-change focus-highlight
+
tab_bar_edge bottom
tab_bar_style powerline
tab_bar_align center
diff --git a/shaders/tab-change.pipeline b/shaders/tab-change.pipeline
new file mode 100644
index 0000000..001606e
--- /dev/null
+++ b/shaders/tab-change.pipeline
@@ -0,0 +1,9 @@
+# Overrides the bundled tab-change pipeline: iris reveal, 400ms (default 600)
+startgroup
+ animation_start tab-change
+ animation_stop 400
+ animation_curve ease-out
+ animation_step 16
+ var int ANIMATION_TYPE = 3
+ shaders tab-change
+endgroup