summaryrefslogtreecommitdiff
path: root/i3blocks-updates.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@sparrowhawk.53hor.net>2020-05-13 08:19:11 -0400
committerAdam T. Carpenter <atc@sparrowhawk.53hor.net>2020-05-13 08:19:11 -0400
commit8b1a2abb3bc497af04f9531db46af4b0dda42117 (patch)
tree14e91cc7a77d6d4756d58db6e004cdab3546f627 /i3blocks-updates.sh
parentb184782970853b3c479f6c4ad833a36a3aea7afa (diff)
downloadscripts-8b1a2abb3bc497af04f9531db46af4b0dda42117.tar.xz
scripts-8b1a2abb3bc497af04f9531db46af4b0dda42117.zip
updated for FreeBSD userland, included wpg scripts
Diffstat (limited to 'i3blocks-updates.sh')
-rwxr-xr-xi3blocks-updates.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/i3blocks-updates.sh b/i3blocks-updates.sh
index 1c1e825..a35bbe0 100755
--- a/i3blocks-updates.sh
+++ b/i3blocks-updates.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-icon=󰏖
+icon=󰣠
-packages="$(pacman -Qu | wc -l)"
-[ $packages -gt 0 ] && printf "$icon %s\n" $packages
+freebsd-update updatesready && printf "$update_icon Updates are ready. "