diff options
author | dx <aryadevchavali1@gmail.com> | 2020-07-12 00:51:06 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-07-12 00:51:06 +0100 |
commit | 47f290caed9601eab7f07a776abcd648e81171b3 (patch) | |
tree | ffe67a8ed8cff7c1eb8af8b596d5825386d4f1ca /Scripts/.local/scripts/status/uptime_status | |
parent | ecf78066b34be5bbfc1082be5b0a7fcd880f006e (diff) | |
download | dotfiles-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-x | Scripts/.local/scripts/status/uptime_status | 3 |
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/ //') |