diff options
Diffstat (limited to 'home/dot_local/share/bin/executable_delta')
| -rw-r--r-- | home/dot_local/share/bin/executable_delta | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_delta b/home/dot_local/share/bin/executable_delta new file mode 100644 index 0000000..83fb629 --- /dev/null +++ b/home/dot_local/share/bin/executable_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" "$@" |