aboutsummaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-01-22 23:54:32 +0200
committersrdusr <trevorgray@srdusr.com>2023-01-22 23:54:32 +0200
commit46a15ff10ddd6bccd30036eafc811c2d04dbf1b7 (patch)
tree2463f82711c5f55968597f897e0b5025201a911b /.config/tmux
parent9e4f026767b07be4dcbe03c0d701975171975785 (diff)
downloaddotfiles-46a15ff10ddd6bccd30036eafc811c2d04dbf1b7.tar.gz
dotfiles-46a15ff10ddd6bccd30036eafc811c2d04dbf1b7.zip
Add tmux mem and cpu togglability
Diffstat (limited to '.config/tmux')
-rwxr-xr-x.config/tmux/right-status.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/tmux/right-status.sh b/.config/tmux/right-status.sh
index ed6232a..2e24cf9 100755
--- a/.config/tmux/right-status.sh
+++ b/.config/tmux/right-status.sh
@@ -46,4 +46,14 @@ usage="$usedRam/$totalRam"
#echo "cpu:$getCPU% | mem:$pct% ($usage""G)"
echo "cpu:$getCPU% | mem:$pct% |"
+#if
+# [[ `tmux show-option -w status-right` ]];
+#then
+# echo ""
+# echo "cpu:$getCPU% | mem:$pct% |"
+#else
+#fi
+
+# tmux set -ag status-right "#[fg=#50fa7b,bg=default] #{?client_prefix,#[reverse] Prefix #[noreverse] ,} #[bg=default,fg=#50fa7b]#[bg=#50fa7b,fg=black]#( ~/.config/tmux/right-status.sh ) %H:%M | %d-%b-%y "
+# tmux set -ag status-right "#[fg=#50fa7b,bg=default] #{?client_prefix,#[reverse] Prefix #[noreverse] ,} #[bg=default,fg=#50fa7b]#[bg=#50fa7b,fg=black] %H:%M | %d-%b-%y "