diff options
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" "$@" |