aboutsummaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-20 23:01:09 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-20 23:01:09 +0200
commit581865ee0c8b8aea872f053d804a41fb5f416b17 (patch)
tree9a2f99ea48c31629a5c3c42b0454483982cdbfed /status
parentc5d101ab2c9db3b1a001cb56953cb90b24f8fdcf (diff)
downloadscripts-581865ee0c8b8aea872f053d804a41fb5f416b17.tar.gz
scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.zip
Various shellcheck fixes (www.shellcheck.net)
Diffstat (limited to 'status')
-rwxr-xr-xstatus8
1 files changed, 4 insertions, 4 deletions
diff --git a/status b/status
index abd9bad..c4fffa1 100755
--- a/status
+++ b/status
@@ -35,7 +35,7 @@ network="Network: $nwclean"
35 35
36noticount=$(notify show | wc -l) 36noticount=$(notify show | wc -l)
37 37
38printf "$network$sep$volume$sep$battery$sep$date$sep$time" 38printf '%s' "$network$sep$volume$sep$battery$sep$date$sep$time"
39[ "$noticount" = "1" ] && printf "$sep$(notify show)" 39[ "$noticount" = "1" ] && printf '%s' "$sep$(notify show)"
40[ "$noticount" -gt "1" ] && printf "${sep}Unread notifications: $noticount" 40[ "$noticount" -gt "1" ] && printf '%s' "${sep}Unread items: $noticount"
41printf "\n" 41printf '\n'

Generated with cgit - Back to sebastiano.tronto.net