aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/status/uptime_status
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-07-12 00:51:06 +0100
committerdx <aryadevchavali1@gmail.com>2020-07-12 00:51:06 +0100
commit47f290caed9601eab7f07a776abcd648e81171b3 (patch)
treeffe67a8ed8cff7c1eb8af8b596d5825386d4f1ca /Scripts/.local/scripts/status/uptime_status
parentecf78066b34be5bbfc1082be5b0a7fcd880f006e (diff)
downloaddotfiles-47f290caed9601eab7f07a776abcd648e81171b3.tar.gz
dotfiles-47f290caed9601eab7f07a776abcd648e81171b3.tar.bz2
dotfiles-47f290caed9601eab7f07a776abcd648e81171b3.zip
+script to show uptime on status bar
Diffstat (limited to 'Scripts/.local/scripts/status/uptime_status')
-rwxr-xr-xScripts/.local/scripts/status/uptime_status3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/status/uptime_status b/Scripts/.local/scripts/status/uptime_status
new file mode 100755
index 0000000..ff44048
--- /dev/null
+++ b/Scripts/.local/scripts/status/uptime_status
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+echo  Uptime: $(uptime --pretty | sed 's/up//;s/ //')