From de8e83b22cb36097ad6ec6243073417549fcd558 Mon Sep 17 00:00:00 2001 From: gk Date: Sun, 1 Aug 2021 14:17:58 +1000 Subject: [PATCH] slightly more consistent empty-test & fix wording --- README.md | 2 +- fet.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f4be51b..9c1e672 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Supported options are: - `separator` - `colourblocks` -For less simple configuration I recommend editing the script, I tried to keep it simple. +For less trivial configuration I recommend editing the script, I tried to keep it simple. ### Known Issues MacOS, BSD, and Android don't show much info. diff --git a/fet.sh b/fet.sh index 367e7e0..72e1b50 100755 --- a/fet.sh +++ b/fet.sh @@ -54,7 +54,7 @@ if [ -e /proc/$$/comm ]; then done ## WM/DE - [ ! "$wm" ] && + [ "$wm" ] || # loop over all processes and check the binary name for i in /proc/*/comm; do read -r c < "$i"