[terminal wrapper] Pass arguments to terminal

This commit is contained in:
M1dgard 2018-07-12 00:46:51 +02:00
parent fd2369a316
commit 7dddedb6cc
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -17,7 +17,7 @@ fi
# Open terminal at specified path
cmd=i3-sensible-terminal
if [[ -n $path ]]; then
exec $cmd --default-working-directory="$path"
exec $cmd --default-working-directory="$path" "$@"
else
exec $cmd
exec $cmd "$@"
fi