aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/delta
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-01-16 20:03:07 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2026-01-16 20:03:07 +0100
commit115ac49aa95caa4e648629f55ae287263a48655c (patch)
treea6feb177733475c85e13a5f2e2f43bdd590a5b83 /.local/share/bin/delta
parentcbc28cd4f307804b84e8c96b4717d85f6b0ed008 (diff)
updates from workHEADmaster
Diffstat (limited to '.local/share/bin/delta')
-rwxr-xr-x.local/share/bin/delta4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/share/bin/delta b/.local/share/bin/delta
new file mode 100755
index 0000000..83fb629
--- /dev/null
+++ b/.local/share/bin/delta
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -e "$XDG_CACHE_HOME/mode/state/vars" ] && . "$XDG_CACHE_HOME/mode/state/vars"
+[ "$mode" = "light" ] && theme="--light" || theme="--dark"
+exec /bin/delta "$theme" "$@"