mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -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:
@@ -20,7 +20,7 @@ PATH=${HOME}/bin:$PATH
|
||||
#
|
||||
PIPE=$HOME/.xmonad-status
|
||||
rm -f $PIPE
|
||||
/sbin/mkfifo -m 600 $PIPE
|
||||
PATH=${PATH}:/sbin mkfifo -m 600 $PIPE
|
||||
[ -p $PIPE ] || exit
|
||||
|
||||
# launch the external 60 second clock, and launch the workspace status bar
|
||||
|
Reference in New Issue
Block a user