This commit is contained in:
Anselm R. Garbe 2006-05-29 11:18:35 +02:00
commit a52993c532
3 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,8 @@
wmiiwm -c || exit 1
SOCKET=`mktemp /tmp/.wmii.address.$DISPLAY.XXXXXX` || exit 2
PATH=$PATH:$HOME/.wmii-4:CONFPREFIX/wmii-4 export PATH
OLD_PATH="$PATH" export OLD_PATH
PATH="$HOME/.wmii-4:CONFPREFIX/wmii-4:$PATH" export PATH
WMII_ADDRESS=unix!$SOCKET export WMII_ADDRESS
wmiiwm -a $WMII_ADDRESS &

View File

@ -59,9 +59,10 @@ The following variables are set and exported within
.B wmii
and thus can be used in actions:
.TP
PATH
PATH, OLD_PATH
.B wmii
adds the local and global actions directory to the existing PATH.
adds the local and global actions directory to the front of the existing PATH.
The original value is saved in OLD_PATH.
.TP
WMII_ADDRESS
Socket file of

View File

@ -139,7 +139,7 @@ do
$MODKEY-a)
`proglist $HOME/.wmii-4 CONFPREFIX/wmii-4 | wmiimenu` &;;
$MODKEY-p)
wmiisetsid `wmiimenu <$PROGS_FILE` &;;
PATH="$OLD_PATH" wmiisetsid `wmiimenu <$PROGS_FILE` &;;
$MODKEY-t)
xwrite /ctl view "`wmiir ls /tag | sed 's,/,,; /^sel$/d' | wmiimenu`" &;;
$MODKEY-[0-9])