if statement around .fehbg

This commit is contained in:
RealStickman 2023-05-22 20:19:08 +02:00
parent 73f8d7268e
commit 7822fc15ca

View File

@ -473,7 +473,9 @@ if [[ -f "$HOME/.Xresources" ]]; then
fi
# execute feh
"$HOME/.fehbg"
if [[ -f "$HOME/.fehbg" ]]; then
"$HOME/.fehbg"
fi
if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then
i3-msg restart 1>/dev/null