From 581865ee0c8b8aea872f053d804a41fb5f416b17 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 20 Jun 2023 23:01:09 +0200 Subject: Various shellcheck fixes (www.shellcheck.net) --- status | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'status') diff --git a/status b/status index abd9bad..c4fffa1 100755 --- a/status +++ b/status @@ -35,7 +35,7 @@ network="Network: $nwclean" noticount=$(notify show | wc -l) -printf "$network$sep$volume$sep$battery$sep$date$sep$time" -[ "$noticount" = "1" ] && printf "$sep$(notify show)" -[ "$noticount" -gt "1" ] && printf "${sep}Unread notifications: $noticount" -printf "\n" +printf '%s' "$network$sep$volume$sep$battery$sep$date$sep$time" +[ "$noticount" = "1" ] && printf '%s' "$sep$(notify show)" +[ "$noticount" -gt "1" ] && printf '%s' "${sep}Unread items: $noticount" +printf '\n' -- cgit v1.3