From 53aa175635dfb040b73fa196c29c3d4567af56d5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 6 May 2021 19:09:38 +0200 Subject: [PATCH] Silent output --- arch-config/scripts/arch-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-config/scripts/arch-config.sh b/arch-config/scripts/arch-config.sh index 0628a9da..2e7ec6d7 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -320,7 +320,7 @@ fi # 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\$" breaks if i3 has been restarted already in this session -if ps aux | grep -E "\si3(\s|$)"; then +if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then i3-msg restart fi