[hackers] [wmii] Commit past updates to wmiirc || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 18 Oct 2008 18:58:27 +0000 (UTC)

changeset: 2391:869a1e90ab0c
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Oct 18 14:58:26 2008 -0400
files: rc/wmiirc.sh
description:
Commit past updates to wmiirc

diff -r 96816e6203f7 -r 869a1e90ab0c rc/wmiirc.sh
--- a/rc/wmiirc.sh Sat Oct 18 13:18:12 2008 -0400
+++ b/rc/wmiirc.sh Sat Oct 18 14:58:26 2008 -0400
@@ -23,6 +23,10 @@
 
 set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
 WMII_TERM="xterm"
+
+# Menu history
+hist="$(wmiir namespace)/history"
+histnum=5000
 
 # Column Rules
 wmiir write /colrules <<!
@@ -143,11 +147,11 @@
         Key $MODKEY-m
                 wmiir xwrite /tag/sel/ctl colmode sel stack+max
         Key $MODKEY-a
- Action $(wi_actions | wi_menu) &
+ Action $(wi_actions | wimenu -h "${hist}.actions" -n $histnum) &
         Key $MODKEY-p
- eval wmiir setsid "$(wi_menu <$progsfile)" &
+ eval wmiir setsid "$(wimenu -h "${hist}.progs" -n $histnum <$progsfile)" &
         Key $MODKEY-t
- wmiir xwrite /ctl view $(wi_tags | wi_menu) &
+ wmiir xwrite /ctl view $(wi_tags | wimenu -h "${hist}.tags" -n 50) &
         Key $MODKEY-Return
                 eval wmiir setsid $WMII_TERM &
         Key $MODKEY-Shift-space
@@ -157,7 +161,7 @@
         Key $MODKEY-Shift-c
                 wmiir xwrite /client/sel/ctl kill
         Key $MODKEY-Shift-t
- wmiir xwrite "/client/$(wmiir read /client/sel/ctl)/tags" $(wi_tags | wi_menu) &
+ wmiir xwrite "/client/$(wmiir read /client/sel/ctl)/tags" $(wi_tags | wimenu -h "${hist}.tags" -n 50) &
         Key $MODKEY-$LEFT
                 wmiir xwrite /tag/sel/ctl select left
         Key $MODKEY-$RIGHT
Received on Sat Oct 18 2008 - 18:58:27 UTC

This archive was generated by hypermail 2.2.0 : Sat Oct 18 2008 - 19:00:08 UTC