diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:52:43 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:52:43 +0100 |
| commit | cef96ea6fe8027669b9f23647439362da04035a3 (patch) | |
| tree | 9f57d72fd805f2c7f21b4f2dc762347d651b0291 /tmux-segments/short-uptime | |
| parent | 889954adfb1da6a4c55719b96a7aa571611b6ea9 (diff) | |
Move short-uptime to tmux segments
Diffstat (limited to 'tmux-segments/short-uptime')
| -rwxr-xr-x | tmux-segments/short-uptime | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux-segments/short-uptime b/tmux-segments/short-uptime new file mode 100755 index 0000000..62f5c09 --- /dev/null +++ b/tmux-segments/short-uptime @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +uptime | awk '{print $(3)"d "$(5)" "$(NF+0)" "$(NF-1)" "$(NF-0)}' |