Add check for i3
This commit is contained in:
parent
8cf1ae8b1c
commit
fdc2f6f15f
@ -282,8 +282,10 @@ fi
|
|||||||
# execute feh
|
# execute feh
|
||||||
"$HOME/.fehbg"
|
"$HOME/.fehbg"
|
||||||
|
|
||||||
#restart i3 in place
|
#restart i3 in place, but only if i3 is running
|
||||||
i3 restart
|
if [[ "$(ps aux | grep "\si3\$")" ]]; then
|
||||||
|
i3 restart
|
||||||
|
fi
|
||||||
|
|
||||||
#output
|
#output
|
||||||
echo Finished updating everything!
|
echo Finished updating everything!
|
||||||
|
Loading…
Reference in New Issue
Block a user