Hide 'not found' win message

This commit is contained in:
Sage Vaillancourt 2023-12-13 12:26:39 -05:00
parent 246b33ed38
commit 29ad3e9ed6
1 changed files with 3 additions and 1 deletions

View File

@ -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
}