From cef96ea6fe8027669b9f23647439362da04035a3 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Sun, 16 Feb 2020 14:52:43 +0100 Subject: Move short-uptime to tmux segments --- functions/short-uptime.bash | 2 -- tmux-segments/short-uptime | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 functions/short-uptime.bash create mode 100755 tmux-segments/short-uptime diff --git a/functions/short-uptime.bash b/functions/short-uptime.bash deleted file mode 100644 index 62f5c09..0000000 --- a/functions/short-uptime.bash +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -uptime | awk '{print $(3)"d "$(5)" "$(NF+0)" "$(NF-1)" "$(NF-0)}' 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)}' -- cgit