mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
run-xmonad.sh: don't hard-code path to mkfifo.
mkfifo isn't located in /sbin on all distributions (Gentoo puts it in /bin). By temporarily appending /sbin to PATH both setups are supported. 'which' and friends are not viable options since /sbin usually isn't in user's PATH by default.
This commit is contained in:
parent
da5e7b9e2a
commit
f650b2c4f3
@ -20,7 +20,7 @@ PATH=${HOME}/bin:$PATH
|
|||||||
#
|
#
|
||||||
PIPE=$HOME/.xmonad-status
|
PIPE=$HOME/.xmonad-status
|
||||||
rm -f $PIPE
|
rm -f $PIPE
|
||||||
/sbin/mkfifo -m 600 $PIPE
|
PATH=${PATH}:/sbin mkfifo -m 600 $PIPE
|
||||||
[ -p $PIPE ] || exit
|
[ -p $PIPE ] || exit
|
||||||
|
|
||||||
# launch the external 60 second clock, and launch the workspace status bar
|
# launch the external 60 second clock, and launch the workspace status bar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user