changed the progs caching slightly differently to work in the ns directory (to prevent problems on multiuser mainframes)

This commit is contained in:
Anselm R. Garbe 2006-04-14 10:56:07 +02:00
parent 0b7acc5330
commit 4df65cbd6b

View File

@ -45,7 +45,8 @@ EOF
# MISC
xsetroot -solid '#0b1014'
status &
proglist $PATH >/tmp/.wmiimenu.progs &
PROGMENU_CACHE=/tmp/ns.$USER.`echo $DISPLAY | sed 's/.[0-9]$//'`/progs
proglist $PATH >$PROGMENU_CACHE &
# SHORTCUTS
xwrite /def/grabmod $MODKEY
@ -128,7 +129,7 @@ do
$MODKEY-a)
`proglist CONFPREFIX/wmii-3:$HOME/.wmii-3 | wmiimenu` &;;
$MODKEY-p)
`wmiimenu </tmp/.wmiimenu.progs` &;;
`wmiimenu <$PROGMENU_CACHE` &;;
$MODKEY-t)
xwrite /ctl view "`wmiir read /tags | wmiimenu`" &;;
$MODKEY-[0-9])