summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/config.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:13:06 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:15:47 -0400
commite72554e8e5bf453109b31d0797323fd7085b169c (patch)
treeaea1d698e375ed5707e1db312ffc0cc66f77684d /.config/wmii-hg/config.sh
parent5984f9884153b4f035bf3be3cd69ef2970244209 (diff)
clean up wmii config
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
+}