Add check for i3

This commit is contained in:
RealStickman 2021-03-15 15:59:04 +01:00
parent 8cf1ae8b1c
commit fdc2f6f15f

View File

@ -282,8 +282,10 @@ fi
# execute feh
"$HOME/.fehbg"
#restart i3 in place
#restart i3 in place, but only if i3 is running
if [[ "$(ps aux | grep "\si3\$")" ]]; then
i3 restart
fi
#output
echo Finished updating everything!