diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
| commit | 581865ee0c8b8aea872f053d804a41fb5f416b17 (patch) | |
| tree | 9a2f99ea48c31629a5c3c42b0454483982cdbfed /status | |
| parent | c5d101ab2c9db3b1a001cb56953cb90b24f8fdcf (diff) | |
| download | scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.tar.gz scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.zip | |
Various shellcheck fixes (www.shellcheck.net)
Diffstat (limited to '')
| -rwxr-xr-x | status | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -35,7 +35,7 @@ network="Network: $nwclean" | |||
| 35 | 35 | ||
| 36 | noticount=$(notify show | wc -l) | 36 | noticount=$(notify show | wc -l) |
| 37 | 37 | ||
| 38 | printf "$network$sep$volume$sep$battery$sep$date$sep$time" | 38 | printf '%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" |
| 41 | printf "\n" | 41 | printf '\n' |
