summaryrefslogtreecommitdiff
path: root/i3blocks-up.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-01-01 11:03:23 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-01-01 11:03:23 -0500
commit6aa3f3db5e3226f3b2774ff19c2fcc00185a3615 (patch)
treef64b096302ea9729f8fc3109e59674b3699184ad /i3blocks-up.sh
parent8584c55f197b70ce66e8e214ad720a6b623ebfdb (diff)
downloadscripts-6aa3f3db5e3226f3b2774ff19c2fcc00185a3615.tar.xz
scripts-6aa3f3db5e3226f3b2774ff19c2fcc00185a3615.zip
added nvidia-settings to dockd for composition pipeline
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