summaryrefslogtreecommitdiff
path: root/i3blocks-uptime.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-10-09 09:50:40 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-10-09 09:50:40 -0400
commitd7411594c0ca071f08da108f544902f03e2e413d (patch)
tree6d9d95e837f22112c0fe251f7898c2520847cbf3 /i3blocks-uptime.sh
parentf015761d39ac3f0b191d804e2ce05300a4aaf500 (diff)
downloadscripts-d7411594c0ca071f08da108f544902f03e2e413d.tar.xz
scripts-d7411594c0ca071f08da108f544902f03e2e413d.zip
fixed uptime and network scripts, added transcode-screencast
Diffstat (limited to 'i3blocks-uptime.sh')
-rwxr-xr-xi3blocks-uptime.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3blocks-uptime.sh b/i3blocks-uptime.sh
index 515f056..778b71f 100755
--- a/i3blocks-uptime.sh
+++ b/i3blocks-uptime.sh
@@ -1,4 +1,4 @@
#!/bin/sh
icon=󰣠
-printf "$icon%s\n" "$(uptime -p | cut -d, -f1,2)"
+printf "$icon%s\n" "$(uptime | grep -o 'up[^,]*' )"