summaryrefslogtreecommitdiff
path: root/i3blocks-up.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks-up.sh')
-rwxr-xr-xi3blocks-up.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/i3blocks-up.sh b/i3blocks-up.sh
index 52791a1..24db497 100755
--- a/i3blocks-up.sh
+++ b/i3blocks-up.sh
@@ -1,5 +1,3 @@
#!/bin/sh
-icon=󰣠
-
doas freebsd-update updatesready > /dev/null
-[ $? -eq 2 ] && printf "$icon%s\n" "$(uptime | grep -o 'up[^,]*')" || printf "%sUpdates are available" $icon
+[ $? -ne 2 ] && printf "󰣠Updates are available" $icon