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