diff options
author | onefang | 2019-08-22 08:58:53 +1000 |
---|---|---|
committer | onefang | 2019-08-22 08:58:53 +1000 |
commit | 03e5a31e64cbb51113816454928f57b3095b28cb (patch) | |
tree | b72afa358d26a02e78f460464a26b8c9944e7dcd | |
parent | Bump build number to 4. (diff) | |
download | opensim-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.conf | 6 | ||||
-rwxr-xr-x | scripts/show-console | 2 | ||||
-rwxr-xr-x | scripts/start-sim | 2 |
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. |
74 | set-option -g status-left-length 80 | 74 | set-option -g status-left-length 42 |
75 | #set-option -g status-left '[#H #S #F]' | 75 | #set-option -g status-left '[#H #S #F]' |
76 | set-option -g status-left '#H [#S:#I.#P]#F' | 76 | set-option -g status-left '#H [#S:#I.#P]#F' |
77 | set-option -g status-right-length 80 | 77 | set-option -g status-right-length 64 |
78 | set-option -g status-right '%F #(uptime)' # &F is ISO date, uptime starts with the current time, and ends with the load average. B-) | 78 | set-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 |
81 | set-option -g visual-activity on # Show status message for activity in monitor-activity windows. | 81 | set-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 | ||
3 | tmux -S ../../caches/opensim-tmux.socket select-window -t "OpenSimSC_console" \; attach-session -t "OpenSimSC_console" | 3 | tmux -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 | |||
4 | getPrgDir | 4 | getPrgDir |
5 | 5 | ||
6 | USER=$(whoami) | 6 | USER=$(whoami) |
7 | console_name="OpenSimSC_console" | 7 | console_name="OpenSimSC" |
8 | tmux_command="tmux -S ${PRGDIR}/../../caches/opensim-tmux.socket" | 8 | tmux_command="tmux -S ${PRGDIR}/../../caches/opensim-tmux.socket" |
9 | tmux_session=${console_name} | 9 | tmux_session=${console_name} |
10 | tmux_window="${tmux_command} select-window -t ${tmux_session}" | 10 | tmux_window="${tmux_command} select-window -t ${tmux_session}" |