From 29ad3e9ed69581be9e131e25330468aaf28698c1 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 13 Dec 2023 12:26:39 -0500 Subject: [PATCH] Hide 'not found' win message --- fake_home/.sofi.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fake_home/.sofi.sh b/fake_home/.sofi.sh index b1e09d4..a63923c 100755 --- a/fake_home/.sofi.sh +++ b/fake_home/.sofi.sh @@ -48,7 +48,9 @@ windows() { sed 's/, /\n/g' | xargs -I {} -n1 xprop -id {} _NET_WM_NAME | grep -v '"Desktop"\|"xfce4-panel"' | - sed 's/_NET_WM_NAME(UTF8_STRING) = "/win /' | sed 's/"$//' + sed 's/_NET_WM_NAME(UTF8_STRING) = "/win /' | + sed 's/"$//' | + grep -v 'not found' fi }