Try it like this
This commit is contained in:
parent
854d78439a
commit
32634700d6
@ -320,7 +320,7 @@ fi
|
|||||||
# ps aux | grep "\si3\s" breaks if i3 hasn't been restarted yet
|
# ps aux | grep "\si3\s" breaks if i3 hasn't been restarted yet
|
||||||
# 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 "\skitty(\s|$)" ]]; then
|
if ps aux | grep -E "\skitty(\s|$)"; then
|
||||||
i3-msg restart
|
i3-msg restart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user