mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Have dotify-action attempt to execute actions
This commit is contained in:
@@ -3,5 +3,9 @@ dotify-action() {
|
|||||||
local source="$2"
|
local source="$2"
|
||||||
local target="$3"
|
local target="$3"
|
||||||
|
|
||||||
echo "${action}: $source -> $target"
|
if [ "$action" == "default" ]; then
|
||||||
|
action="$DOTIFY_OPT_DEFAULT_ACTION"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dotify-action-${action} "$source" "$target"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user