speed hack for PATH menu

This commit is contained in:
Anselm R. Garbe 2006-02-11 14:14:12 +01:00
parent 66441bf03b
commit 1ef66d2eed
1 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,8 @@ fn items {
}
} | sort
}
rm -f /tmp/ns.$USER.$DISPLAY/p.menu
@ items $OLD_PATH > /tmp/ns.$USER.$DISPLAY/p.menu
# MISC
xsetroot -solid '#1a1c10'
@ -119,7 +121,7 @@ while(event=`{read}) {
case $MODKEY-Control-q,y
xwrite /ctl quit
case $MODKEY-Control-p
extern `{items $OLD_PATH | wmiimenu} &
extern `{cat /tmp/ns.$USER.$DISPLAY/p.menu | wmiimenu} &
case $MODKEY-Control-a
`{items CONFPREFIX/wmii-3:$HOME/.wmii-3 | wmiimenu} &
case $MODKEY-t