mirror of
https://git.suckless.org/dwmstatus
synced 2026-06-08 14:18:56 +02:00
Add comment about xinitrc logic. Do double fork.
Thanks eidolon for the hint.
This commit is contained in:
@@ -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