aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-08-22 08:58:53 +1000
committeronefang2019-08-22 08:58:53 +1000
commit03e5a31e64cbb51113816454928f57b3095b28cb (patch)
treeb72afa358d26a02e78f460464a26b8c9944e7dcd
parentBump build number to 4. (diff)
downloadopensim-SC-03e5a31e64cbb51113816454928f57b3095b28cb.zip
opensim-SC-03e5a31e64cbb51113816454928f57b3095b28cb.tar.gz
opensim-SC-03e5a31e64cbb51113816454928f57b3095b28cb.tar.bz2
opensim-SC-03e5a31e64cbb51113816454928f57b3095b28cb.tar.xz
Unclutter the tmux status line.
Not everyone has YUUUGE terminals like I do.
-rw-r--r--scripts/install/opensim.tmux.conf6
-rwxr-xr-xscripts/show-console2
-rwxr-xr-xscripts/start-sim2
3 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install/opensim.tmux.conf b/scripts/install/opensim.tmux.conf
index b7c61c9..84e0c21 100644
--- a/scripts/install/opensim.tmux.conf
+++ b/scripts/install/opensim.tmux.conf
@@ -71,11 +71,11 @@ set-option -g status-justify centre # Window list in the middle.
71 ## A literal ‘#’ 71 ## A literal ‘#’
72 72
73# Yes, my terminal really is bigger than 160 characters. 73# Yes, my terminal really is bigger than 160 characters.
74set-option -g status-left-length 80 74set-option -g status-left-length 42
75#set-option -g status-left '[#H #S #F]' 75#set-option -g status-left '[#H #S #F]'
76set-option -g status-left '#H [#S:#I.#P]#F' 76set-option -g status-left '#H [#S:#I.#P]#F'
77set-option -g status-right-length 80 77set-option -g status-right-length 64
78set-option -g status-right '%F #(uptime)' # &F is ISO date, uptime starts with the current time, and ends with the load average. B-) 78set-option -g status-right "%F #(uptime | cut -d ' ' -f 2-2,10-)" # %F is ISO date, uptime starts with the current time, and ends with the load average. B-)
79 79
80# Set window notifications 80# Set window notifications
81set-option -g visual-activity on # Show status message for activity in monitor-activity windows. 81set-option -g visual-activity on # Show status message for activity in monitor-activity windows.
diff --git a/scripts/show-console b/scripts/show-console
index 5818e70..e7fb941 100755
--- a/scripts/show-console
+++ b/scripts/show-console
@@ -1,3 +1,3 @@
1#!/bin/bash 1#!/bin/bash
2 2
3tmux -S ../../caches/opensim-tmux.socket select-window -t "OpenSimSC_console" \; attach-session -t "OpenSimSC_console" 3tmux -S ../../caches/opensim-tmux.socket select-window -t "OpenSimSC" \; attach-session -t "OpenSimSC"
diff --git a/scripts/start-sim b/scripts/start-sim
index 724f81b..3c1fc2f 100755
--- a/scripts/start-sim
+++ b/scripts/start-sim
@@ -4,7 +4,7 @@ source common.sh
4getPrgDir 4getPrgDir
5 5
6USER=$(whoami) 6USER=$(whoami)
7console_name="OpenSimSC_console" 7console_name="OpenSimSC"
8tmux_command="tmux -S ${PRGDIR}/../../caches/opensim-tmux.socket" 8tmux_command="tmux -S ${PRGDIR}/../../caches/opensim-tmux.socket"
9tmux_session=${console_name} 9tmux_session=${console_name}
10tmux_window="${tmux_command} select-window -t ${tmux_session}" 10tmux_window="${tmux_command} select-window -t ${tmux_session}"