Add comment about xinitrc logic. Do double fork.
Thanks eidolon for the hint.
This commit is contained in:
+9
-2
@@ -9,8 +9,15 @@ fi
|
|||||||
|
|
||||||
if [ -e $HOME/.xinitrc ];
|
if [ -e $HOME/.xinitrc ];
|
||||||
then
|
then
|
||||||
cat $HOME/.xinitrc | grep dwmstatus | sh
|
# In case some .xinitrc exists, do try to run dwmstatus as people
|
||||||
|
# run it in their .xinitrc. This is in case some error
|
||||||
|
# redirection is done or logging.
|
||||||
|
{
|
||||||
|
grep dwmstatus $HOME/.xinitrc | sh
|
||||||
|
} &
|
||||||
else
|
else
|
||||||
dwmstatus &
|
{
|
||||||
|
dwmstatus &
|
||||||
|
} &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user