Add tmux session count to motd
[khome.git] / home / lib / login_functions.sh
index 4fc413f..4680be2 100644 (file)
@@ -399,6 +399,10 @@ motd() {
 
     echo
 
+    printf 'tmux sessions: %d\n' "$(tmux ls | wc -l)"
+
+    echo
+
     printf 'mem  '
     free \
     | awk '$1 == "Mem:" {total=$2; used=$3; print used, total}' \
This page took 0.031195 seconds and 4 git commands to generate.