Cleanup
Use better/more readable version of the command that starts the scratchpad-terminal. i3 seems to pass the exec arguments to /bin/sh so adding another call was redundant.
This commit is contained in:
@@ -14,10 +14,6 @@ while getopts "c:e:hn:s" FLAGS; do
|
||||
done
|
||||
shift $(($OPTIND - 1))
|
||||
|
||||
if [ "$COMMAND" = "--" ]; then
|
||||
COMMAND="$@"
|
||||
fi
|
||||
|
||||
[ -n "$W_CLASS" ] || return 1
|
||||
[ -n "$W_NAME" ] || return 1
|
||||
[ -z "$SHOW" ] || [ -n "$COMMAND" ] || return 1
|
||||
|
||||
Reference in New Issue
Block a user