mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
Quote $@ in some places.
This commit is contained in:
parent
cdf2755129
commit
8b38c3cbd7
@ -13,7 +13,7 @@ if [ ! -n "$RC" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
exec $RC $@
|
||||
exec $RC "$@"
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
@ -49,8 +49,8 @@ eventstuff() {
|
||||
exit;
|
||||
esac
|
||||
Event Key
|
||||
fn=$(echo $@ | sed 's/[^a-zA-Z_0-9]/_/g')
|
||||
Key_$fn $@
|
||||
fn=$(echo "$@" | sed 's/[^a-zA-Z_0-9]/_/g')
|
||||
Key_$fn "$@"
|
||||
Event CreateTag
|
||||
echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
|
||||
Event DestroyTag
|
||||
@ -170,8 +170,8 @@ unset IFS
|
||||
Action() {
|
||||
action=$1; shift
|
||||
if [ -n "$action" ]; then
|
||||
Action_$action $@ \
|
||||
|| conf_which $action $@
|
||||
Action_$action "$@" \
|
||||
|| conf_which $action "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user