summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/config.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/wmii-hg/config.sh')
-rw-r--r--.config/wmii-hg/config.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh
index 3ddc8d5..3b1b20f 100644
--- a/.config/wmii-hg/config.sh
+++ b/.config/wmii-hg/config.sh
@@ -163,9 +163,8 @@ Event() {
RightMouseDND) ## $1=button $2=bar_item
Event RightBarClick "$@";;
esac
-} ## End Event
+}
-# Key Bindings
Key() {
key=$1
case "$key" in
@@ -237,14 +236,13 @@ Key() {
echo "$tag" >> $WMII_DIR/client/$sel/tags
}& ;;
esac
-} ## End Key
+}
Action() {
- prog=`path_which "$WMII_CONFPATH" $1`; shift
+ prog=$(path_which "$WMII_CONFPATH" "$1"); shift
if [ -n "$prog" ]; then
"$prog" "$@"
- return $?
else
- return 1
+ false
fi
-} ## End Action
+}