commit 08aac840872c386863b23c783faebce06fb9b8b6
parent 166868d8a17e07ec4e0c5144eaf7cae56861ff30
Author: Georg Neis <gn@wmii.de>
Date: Sun, 26 Feb 2006 13:54:05 +0100
add missing sendtopage shortcuts (reported by ality)
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/rc/wmiirc b/rc/wmiirc
@@ -34,12 +34,9 @@ xwrite /def/selcolors $WMII_SELCOLORS
xwrite /def/normcolors $WMII_NORMCOLORS
# BAR CONFIGURATION
-i=1
-n=`wmiir read /bar | awk '/[0-9]+$/ {if($NF>max) max=$NF} END {print max}'`
-while test $i -le ${n:-0}
+while wmiir remove /bar/1 2>/dev/null
do
- wmiir remove /bar/1
- i=`expr $i + 1`
+ :
done
xwrite /bar/new/colors $WMII_NORMCOLORS
xwrite /bar/new/colors $WMII_SELCOLORS
@@ -164,6 +161,8 @@ do
xwrite /ctl pager;;
$MODKEY-Shift-[1-9])
xwrite /ctl select `echo $1 | sed 's/.*-//'`;;
+ $MODKEY-Control-[1-9])
+ xwrite /sel/sel/sel/ctl sendtopage `echo $1 | sed 's/.*-//'`;;
esac;;
esac
done &