mirror of https://github.com/0intro/wmii
resurrected OLD_PATH
This commit is contained in:
parent
71ffcf8683
commit
3463666df2
|
@ -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 &
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue