mirror of
https://git.suckless.org/dwmstatus
synced 2026-06-06 02:55:51 +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 ];
|
||||
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
|
||||
dwmstatus &
|
||||
{
|
||||
dwmstatus &
|
||||
} &
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user