diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-01-16 20:03:07 +0100 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-01-16 20:03:07 +0100 |
| commit | 115ac49aa95caa4e648629f55ae287263a48655c (patch) | |
| tree | a6feb177733475c85e13a5f2e2f43bdd590a5b83 /.local/share/bin/delta | |
| parent | cbc28cd4f307804b84e8c96b4717d85f6b0ed008 (diff) | |
Diffstat (limited to '.local/share/bin/delta')
| -rwxr-xr-x | .local/share/bin/delta | 4 |
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" "$@" |