Hide i3 output

This commit is contained in:
RealStickman 2021-05-06 19:10:38 +02:00
parent 53aa175635
commit c62db6dcff

View File

@ -321,7 +321,7 @@ fi
# ps aux | grep "\si3" works for both, not certain if other stuff could be detected as well # ps aux | grep "\si3" works for both, not certain if other stuff could be detected as well
# ps aux | grep "\si3\$" breaks if i3 has been restarted already in this session # ps aux | grep "\si3\$" breaks if i3 has been restarted already in this session
if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then
i3-msg restart i3-msg restart 1>/dev/null
fi fi
#output #output