diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-01-01 11:03:23 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-01-01 11:03:23 -0500 |
commit | 6aa3f3db5e3226f3b2774ff19c2fcc00185a3615 (patch) | |
tree | f64b096302ea9729f8fc3109e59674b3699184ad /i3blocks-up.sh | |
parent | 8584c55f197b70ce66e8e214ad720a6b623ebfdb (diff) | |
download | scripts-6aa3f3db5e3226f3b2774ff19c2fcc00185a3615.tar.xz scripts-6aa3f3db5e3226f3b2774ff19c2fcc00185a3615.zip |
added nvidia-settings to dockd for composition pipeline
Diffstat (limited to 'i3blocks-up.sh')
-rwxr-xr-x | i3blocks-up.sh | 4 |
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 |