summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/wmii-hg/config.sh4
-rw-r--r--.config/wmii-hg/rbar.sh4
2 files changed, 7 insertions, 1 deletions
diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh
index be75d65..ad4d2fe 100644
--- a/.config/wmii-hg/config.sh
+++ b/.config/wmii-hg/config.sh
@@ -25,6 +25,8 @@ Event() {
## 1 = left
## 2 = middle
## 3 = right
+ ## 4 = scroll up
+ ## 5 = scroll down
## Custom (non-WMII-generated) events
WmiircStart) ## No args
@@ -109,6 +111,8 @@ Event() {
echo Fullscreen on >> $WMII_DIR/client/$1/ctl;;
esac
}& ;;
+ 4) ;;
+ 5) ;;
esac;;
ClientClick) ## $1=client $2=button
;;
diff --git a/.config/wmii-hg/rbar.sh b/.config/wmii-hg/rbar.sh
index 8297b71..4f6faf1 100644
--- a/.config/wmii-hg/rbar.sh
+++ b/.config/wmii-hg/rbar.sh
@@ -14,5 +14,7 @@ case "$1" in
1) left-click;;
2) middle-click;;
3) right-click;;
- *) update "$1";;
+ 4) scroll-up;;
+ 5) scroll-down;;
+ [0-9][0-9]_*) update "$1";;
esac