[hackers] [wmii] Fix some rc bugs, update wmiirc. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 30 Aug 2008 21:49:26 +0000 (UTC)

changeset: 2340:295c068bb367
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Jun 02 11:52:29 2008 -0400
files: cmd/wmii.rc.rc rc/wmiirc.sh
description:
Fix some rc bugs, update wmiirc.

diff -r 34287266d90d -r 295c068bb367 cmd/wmii.rc.rc
--- a/cmd/wmii.rc.rc Sun Jun 01 11:28:37 2008 -0400
+++ b/cmd/wmii.rc.rc Mon Jun 02 11:52:29 2008 -0400
@@ -71,7 +71,7 @@
 
 fn wi_proglist {
         # XXX: maxdepth is not POSIX compliant.
- ifs=: { find -L `{echo $*} -type f -a -maxdepth 1 \
+ ifs=: { find -L `{echo -n $*} -type f -a -maxdepth 1 \
                 '(' -perm -0100 -o -perm -0010 -o -perm -0001 ')' >[2]/dev/null \
                 | sed 's,.*/,,' | sort | uniq}
 }
diff -r 34287266d90d -r 295c068bb367 rc/wmiirc.sh
--- a/rc/wmiirc.sh Sun Jun 01 11:28:37 2008 -0400
+++ b/rc/wmiirc.sh Mon Jun 02 11:52:29 2008 -0400
@@ -42,6 +42,7 @@
         echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
 }
 
+local_events() { true;}
 wi_runconf -s wmiirc_local
 
 echo $WMII_NORMCOLORS | wmiir create $noticebar
@@ -180,6 +181,10 @@
                 wmiir xwrite /tag/sel/ctl select down
         Key $MODKEY-$UP
                 wmiir xwrite /tag/sel/ctl select up
+ Key $MODKEY-Control-$DOWN
+ wmiir xwrite /tag/sel/ctl select down stack
+ Key $MODKEY-Control-$UP
+ wmiir xwrite /tag/sel/ctl select up stack
         Key $MODKEY-Shift-$LEFT
                 wmiir xwrite /tag/sel/ctl send sel left
         Key $MODKEY-Shift-$RIGHT
@@ -200,7 +205,7 @@
 }
 wi_events <<!
 $(events)
-$local_events
+$(local_events)
 !
 unset events local_events
 
Received on Sat Aug 30 2008 - 21:49:26 UTC

This archive was generated by hypermail 2.2.0 : Sat Aug 30 2008 - 22:00:05 UTC