diff --git a/cmd/wmii.rc.rc b/cmd/wmii.rc.rc index 546e1dff..bd4e543b 100755 --- a/cmd/wmii.rc.rc +++ b/cmd/wmii.rc.rc @@ -71,7 +71,7 @@ fn wi_fn-p { 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 --git a/rc/wmiirc.sh b/rc/wmiirc.sh index b157d8c3..3548add6 100644 --- a/rc/wmiirc.sh +++ b/rc/wmiirc.sh @@ -42,6 +42,7 @@ status() { 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 @@ events() { 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 @@ events() { } wi_events <