Gregory Pakosz
a63dc5c6a9
check connectivity to github.com before installing and/or updating tpm and plugins, fixes #513
2021-08-30 22:23:07 +02:00
Gregory Pakosz
4ef0626b6d
revert "mitigate tmux displaying its "<... not ready>" message, closes #496 "
...
this reverts commit 67b1d38a87
.
the proposed mitigation causes flickering for some, see followups in #496
2021-08-19 11:51:49 +02:00
Gregory Pakosz
67b1d38a87
mitigate tmux displaying its "<... not ready>" message, closes #496
...
the "flickering" perceived when the "<... not ready>" message is long won't be
totally eliminated until tmux 3.3 though (commit 38c5788232e0e3abdd08ade55a9d4fbcda637df1)
2021-07-20 10:42:21 +02:00
Gregory Pakosz
1f91646af1
replaced printf '\n' calls by echo calls, fixes #479
...
TPM plugins further editing status-left or status-right may alter the content
in such a way that the line feed character becomes a space
2021-05-11 09:49:33 +02:00
Gregory Pakosz
760bf4fabd
made _apply_bindings() work with tmux 3.2 stock bindings, fixes #472
2021-04-25 14:42:00 +02:00
Gregory Pakosz
3bfec1a25a
made version detection more robust in case tmux executable is renamed (3), fixes #462
...
fixed a regression introduced by commit 8aefa1e798
that breaks
version detection for tmux HEAD for which 'tmux -V' prints e.g. tmux next-3.3
2021-03-18 11:54:48 +01:00
Gregory Pakosz
8aefa1e798
made version detection more robust in case tmux executable is renamed (2), fixes #457
2021-03-12 09:57:38 +01:00
Gregory Pakosz
4868ac4bd9
worked around broken /sys/class/power_supply/<supply_name>/capacity > 100, resolves #460
2021-03-07 10:13:16 +01:00
Gregory Pakosz
a752c41bca
fixed copy to os clipboard on macOS when xclip or xsel is installed, fixes #459
2021-03-04 17:55:21 +01:00
Gregory Pakosz
4bf9263fbd
fixed variable replacement in tmux_conf_theme_status_right and tmux_conf_theme_status_left (2), fixes #442
2021-01-11 07:54:05 +01:00
Neil Mahoney
d2b5758bdd
fix left status prefix rendering
2021-01-11 07:29:24 +01:00
Gregory Pakosz
788ffd8e6f
fixed variable replacement in tmux_conf_theme_status_right and tmux_conf_theme_status_left, fixes #356
2021-01-10 16:53:12 +01:00
Frederick Zhang
41af713ff7
fixed BusyBox's tr command compatibility, fixes #441
2021-01-10 09:53:23 +01:00
Gregory Pakosz
d950ee3c8c
added support for tpm, resolves #61
2021-01-09 21:04:48 +01:00
Gregory Pakosz
53d7ce8311
fixed indentation in _apply_overrides()
2020-12-13 20:50:04 +01:00
Gregory Pakosz
8df1666ddc
improved status line rendering, fixes #419 (3)
...
fixed spacers
2020-12-12 19:35:46 +01:00
Gregory Pakosz
249f0be096
fixed use of invalid 'print' command
2020-12-12 18:38:27 +01:00
Gregory Pakosz
8a4dabb196
added support for #{hostname_full} and #{hostname_full_ssh}, closes #361
2020-12-08 22:10:36 +01:00
Gregory Pakosz
e74dc67a7d
improved status line rendering, fixes #419 (2)
...
- do not apply attr to spacers
- fixed attr for last window, window with activity and window with bell
2020-12-05 10:33:13 +01:00
Matthew Broomfield
e3960e5347
added icon for mouse mode, fixes #295
...
mouse icon is to the left of the battery by default.
_toggle_mouse no longer prints a status message as the status icon
should give enough information.
2020-11-24 17:33:23 +01:00
Gregory Pakosz
8c342edc6f
fixed 'tmux_conf_theme_status_right' default value, fixes #422
2020-11-04 11:31:20 +01:00
Gregory Pakosz
88a10631c0
improved status line rendering, fixes #419
...
- non current windows now use separators when they're enabled
- fixed style for last window, window with activity and window with bell
2020-10-31 21:21:19 +01:00
Gregory Pakosz
efee3bb4ac
made version detection more robust in case tmux executable is renamed
2020-10-27 22:03:08 +01:00
Gregory Pakosz
918c0f252c
fixed status line that doesn't work with tmux 2.4
2020-10-27 19:34:00 +01:00
Gregory Pakosz
a43ac95e5f
fixed status line that doesn't work with tmux 2.3, fixes #418
2020-10-16 11:21:11 +02:00
Gregory Pakosz
d0e073dd08
added 'tmux_conf_theme_colour_XX' variables to ease theming
...
closes #189 , closes #224 , closes #255
2020-10-10 15:54:49 +02:00
Gregory Pakosz
e03d73df73
added support for custom variables defined in ~/.tmux.conf.local (2), fixes #417
2020-10-08 09:22:41 +02:00
Gregory Pakosz
8ffeb1d809
fixed '<prefix> + e' binding when EDITOR is set to 'gvim' or 'mvim', fixes #416
2020-10-06 08:29:52 +02:00
Gregory Pakosz
13689839d4
updated _maximize_pane() that stopped working with tmux 3.2 (2), fixes #415
2020-10-03 08:29:28 +02:00
Gregory Pakosz
8e2502abb3
added support for custom variables defined in ~/.tmux.conf.local
...
closes #96 , closes #394
2020-10-02 23:04:33 +02:00
Gregory Pakosz
bcb071152b
updated _maximize_pane() that stopped working with tmux 3.2, fixes #381
2020-09-29 22:49:41 +02:00
Gregory Pakosz
a439667d65
worked around tmux not killing jobs launched with run-shell -b, fixes #407
...
upon exiting, tmux < 3.2 waits for jobs ran with run-shell, even those
launched with -b
the workaround consists in still launching "heavy" jobs from the status
line with #() even though it means e.g. battery information will get
updated once per attached client
2020-09-26 23:28:28 +02:00
Gregory Pakosz
fbe2eb311d
fixed window-status-current-format, fixes #390 , closes #333
2020-09-18 22:09:27 +02:00
Gregory Pakosz
3c09b78aa6
replaced awk by perl in _ssh_or_mosh_args() to benefit from word boundary anchors, closes #363
2020-09-18 13:36:11 +02:00
Gregory Pakosz
8976729f4f
added support for explicit 'split-window' with ssh reconnect, closes #164
...
tmux only allows binding to existing commands, so when the command given to
'split-window' is 'ssh' and only 'ssh', the binding is converted to a call to
_split_window_ssh()
2020-09-18 13:34:10 +02:00
Joachim Werner
39cc430268
made #{uptime_xxx} work under FreeBSD
2020-09-13 14:17:09 +02:00
Joachim Werner
b4a5d06740
made #{loadavg} work under FreeBSD
2020-09-13 14:15:58 +02:00
Gregory Pakosz
3522721c69
fixed status-left and status-right theming, fixes #397
2020-09-10 12:46:52 +02:00
Gregory Pakosz
5d895f94b7
fixed _battery_info() not accommodating for empty lines, fixes #377
2020-09-02 11:20:23 +02:00
Gregory Pakosz
d357ae54ee
removed useless tests in _battery_info()
2020-09-02 11:20:23 +02:00
Gregory Pakosz
a8081d87be
fixed tmux_conf_new_window_retain_current_path and tmux_conf_new_pane_retain_current_path not working under Cygwin and MSYS2
2020-09-02 11:20:23 +02:00
Gregory Pakosz
9e25f3a550
fixed _apply_bindings() to support paths with spaces
...
_split_window() needs to be given -c '#{pane_current_path}', properly quoted
2020-09-02 11:20:19 +02:00
Gregory Pakosz
cb2bd9f378
made #{loadavg} work under Cygwin
2020-09-02 11:19:58 +02:00
Gregory Pakosz
7a64679c2d
fixed #{username} being truncated under Cygwin
2020-09-02 11:19:58 +02:00
Gregory Pakosz
74602e8d8d
implemented poor man's pkill
2020-09-02 11:19:58 +02:00
Gregory Pakosz
98c7467194
launch _battery_bar() background job only if a battery is present
2020-09-02 11:19:58 +02:00
Gregory Pakosz
f7e383460d
moved pkill calls outside of case blocks
...
otherwise if you change tmux_conf_theme_status_left or tmux_conf_theme_status_right
and remove #{uptime_x}, #{loadavg} or #{battery_xxx} variables you end up with
stray jobs running in the background
2020-09-02 11:19:58 +02:00
Gregory Pakosz
eae2cf27fb
optimized _apply_theme() to launch background jobs straight from _apply_configuration()
...
tmux doesn't share jobs between clients, and when multiple clients are attached
the _load_avg(), _uptime() and _battery_bar() jobs get spawned once per client
attached, which is wasteful
2020-09-02 11:19:58 +02:00
Gregory Pakosz
22de553361
optimized _tty_info()
2020-09-02 11:19:58 +02:00
Gregory Pakosz
7d02a72a46
rewrote _apply_theme() to minimize the number of external calls
2020-09-02 11:19:58 +02:00
Gregory Pakosz
20fa97e310
optimized _ssh_or_mosh_args() by deferring calls to external programs
2020-09-02 11:19:58 +02:00
Gregory Pakosz
03d9514071
optimized _username() and _hostname() by removing some calls to external programs
2020-09-02 11:19:58 +02:00
Gregory Pakosz
cdda729983
made _ssh_or_mosh_args() consume output of _tty_info() directly
2020-09-02 11:19:58 +02:00
Gregory Pakosz
d6ea9ad9c7
split _battery() into _battery_status() and _battery_bar() to refresh #{battery_status} more quickly
2020-09-02 11:19:58 +02:00
Gregory Pakosz
89bc03c612
made use of #{==:a,b} to implement #{root} when available
...
compare the output of _username() to 'root' instead of deferring to the _root()
helper
2020-09-02 11:19:58 +02:00
Gregory Pakosz
f54cede368
pass $tmux_conf_theme_root to the _root() helper instead of using a tmux variable
2020-09-02 11:19:58 +02:00
Gregory Pakosz
f657d6959c
made battery, loadavg and uptime update with low process priority
2020-09-02 11:19:58 +02:00
Gregory Pakosz
5447e9fbf5
made theme settings apply in background to speed up startup time
2020-09-02 11:19:58 +02:00
Gregory Pakosz
3676bfc648
made loadavg status update at most every 'status-interval' seconds
...
also, stopped updating when no client is attached
2020-09-02 11:19:58 +02:00
Gregory Pakosz
8a5ae4f9fc
made uptime status update at most every minute or every 'status-interval' seconds
...
depending on whether '#{uptime_s}' is being used
also, stopped updating when no client is attached
2020-09-02 11:19:58 +02:00
Gregory Pakosz
94eab29107
made battery status update at most every minute
...
also, stopped updating when no client is attached
2020-09-02 11:19:58 +02:00
Gregory Pakosz
cba2a6c1ec
added _uname_s global variable
2020-09-02 11:19:58 +02:00
Gregory Pakosz
71d5e1caa1
sent polyglot heredoc to ':' instead of 'cat > /dev/null'
...
forking to cat, just to write to /dev/null is wasteful
2020-09-02 11:19:58 +02:00
Gregory Pakosz
9b5f5155b3
updated _apply_configuration() to redact tmux_conf_ variables from environment in a single call
2020-09-02 11:19:58 +02:00
Gregory Pakosz
5cc1fe9a12
removed subshell invocations from _is_enabled()
2020-09-02 11:19:58 +02:00
Gregory Pakosz
49e55bac06
aligned default tmux_conf_xxx variables with their .tmux.conf.local sample counterpart
2020-09-02 11:19:58 +02:00
Gregory Pakosz
905122d13c
restored tmux_conf_new_pane_retain_current_path default value in .tmux.conf, fixes #364
2020-09-02 11:18:58 +02:00
Gregory Pakosz
d6f0f647dd
improved error bypass logic in _apply_bindings() (2), fixes #331
...
source-file -v is not documented in tmux CHANGES but in fact appeared in tmux 3.0
2020-03-18 14:30:20 +01:00
Gregory Pakosz
4919400fe2
improved error bypass logic in _apply_bindings(), fixes #330
2020-03-17 20:13:19 +01:00
Gregory Pakosz
57eeffcf0e
raised _maximize_pane() retry count and sleep duration, fixes #328
...
this helps when running under WSL where fork() is slow
2020-03-11 15:10:58 +01:00
Gregory Pakosz
a83ba39f09
fixed _tty_info() to properly discard daemons and their children, fixes #320
2020-02-29 22:18:04 +01:00
Gregory Pakosz
f4fc2730cf
rewrote _apply_bindings() to support new tmux 3.0 bindings (4)
...
failed to source the proper modified file, fixes #303
2019-12-09 22:03:26 +01:00
Gregory Pakosz
1cf813fa8b
rewrote _apply_bindings() to support new tmux 3.0 bindings (3)
...
reading and writing to the modified list-keys' output gave the illusion it worked
2019-11-30 19:50:58 +01:00
Gregory Pakosz
92ed649597
made requirements explicit in both README.md and .tmux.conf
2019-11-30 15:49:06 +01:00
Gregory Pakosz
6815beef4f
afer the _apply_bindings() rewrite, perl has become mandatory
2019-11-30 15:48:40 +01:00
Gregory Pakosz
1231155600
warn users about tmux >= 2.4 only when starting tmux
2019-11-30 15:48:04 +01:00
Gregory Pakosz
c94f05f044
rewrote _apply_bindings() to support new tmux 3.0 bindings (2)
...
patch the output of 'tmux list-keys' right before sourcing back
2019-11-30 15:45:23 +01:00
Gregory Pakosz
489cde73fc
fixed broken status line separator default values
2019-11-29 21:15:14 +01:00
Gregory Pakosz
a9b526c9a2
rewrote _apply_bindings() to support new tmux 3.0 bindings, fixes #254
...
moved away from the eval madness, now current bindings are saved to a temporary
file before being altered with perl
2019-11-27 14:46:11 +01:00
Gregory Pakosz
01c91ba523
warn users this configuration will soon require tmux >= 2.4
2019-09-04 19:09:59 +02:00
Gregory Pakosz
9cb275378e
fixed status line configuration when only using #{uptime_s}
2019-07-28 13:34:21 +02:00
Gregory Pakosz
e0a45082eb
added support for #{uptime_y} variable
2019-06-22 21:48:03 +02:00
Gregory Pakosz
d2df5cf4d4
always use grep -E for regular expression and unset GREP_OPTIONS, fixes #252
2019-06-22 14:27:03 +02:00
Gregory Pakosz
685c74128e
implemented Unicode 4-digit and 8-digit parsing, resolves #148 and resolves #167
...
some examples:
- \u23f0 will be converted to the alarm clock symbol ⏰
- \U1f47d will be converted to the alien emoji 👽
2019-06-09 17:47:23 +02:00
Gregory Pakosz
915d4a3960
made workaround for implementations of sed that don't understand -E more robust
...
also made it compatible with POSIX shells
2019-06-09 15:49:45 +02:00
Gregory Pakosz
8f808316b1
fixed ssh reconnection when pane runs a remote command
2019-06-09 12:21:40 +02:00
Gregory Pakosz
ffc2dfbe78
made _apply_bindings() more robust
2019-06-09 11:42:38 +02:00
Gregory Pakosz
67c22c2700
worked around implementations of sed that don't understand -E, resolves #150
2019-05-19 21:42:14 +02:00
Gregory Pakosz
8809af7c9f
prevented ps from truncating username in its output, resolves #241
2019-05-06 22:41:00 +02:00
Gregory Pakosz
ef8962bb39
bind y to pbcopy when reattach-to-username is not present
2019-05-06 22:40:33 +02:00
Gregory Pakosz
e631331281
fixed buggy battery detection logic, likely fixes #233
2019-05-06 22:39:18 +02:00
Gregory Pakosz
9fbde7b9b1
fixed the _tty_info() and _ssh_or_mosh_args() helpers logic
...
- filtered ssh master connections in _tty_info()
- filtered processes reparented to pid 1
2019-05-04 10:00:52 +02:00
Gregory Pakosz
e1452f1242
worked around tmux 2.9 "style inheritance" behavior change, fixes #237
2019-04-25 09:29:48 +02:00
Gregory Pakosz
352dfed5e2
refactored #{username}, #{username_ssh}, #{hostname} and #{hostname_ssh}
...
- improved and extracted pane current command introspection into the _tty_info() helper
- added Mosh support to #{username_ssh} and #{hostname_ssh}. Fixes #127
2019-01-05 17:32:54 +01:00
Gregory Pakosz
3e649a58dd
renamed _circled_digit() to _circled() as it goes up to 20
2018-12-31 10:38:49 +01:00
Gregory Pakosz
ffb1c54769
Revert "do not use repeatable bindings for pane and windows navigation. Fixes #166 "
...
This reverts commit 7ebc59956a
.
2018-08-21 22:46:02 +02:00
Gregory Pakosz
b3a9f75ea6
made window titles support additional variables. Fixes #178
...
tmux_conf_theme_window_status_format and tmux_conf_theme_window_status_current_format
variables now understand:
- #{circled_session_name}
- #{hostname}
- #{hostname_ssh}
- #{username}
- #{username_ssh}
2018-08-11 16:54:07 +02:00
Gregory Pakosz
3d706977c8
added tmux_conf_theme_terminal_title. Fixes #168
2018-08-11 16:52:48 +02:00
Divo Kaplan
6679c0af2c
Fixed missing vi-copy / copy-mode-vi H/L keybindings. Fixes #175
2018-08-09 11:32:26 +02:00
Gregory Pakosz
08334a6451
accomodate for slow shell init in _maximize_pane(). Fixes #170
2018-08-06 08:49:58 +02:00
Gregory Pakosz
7ebc59956a
do not use repeatable bindings for pane and windows navigation. Fixes #166
2018-08-06 08:49:58 +02:00
Eric Renfro
105fb54755
Added syncing indicator to tmux status line
...
This checks for if the panes are synced or not, and provides and
indicator resembling it in the status bar.
2018-08-05 11:30:54 -04:00
Gregory Pakosz
8481ec351b
do not take into account peripheral device batteries when computing battery charge, fixes #161
2018-05-28 08:54:32 +02:00
Gregory Pakosz
faece14dbd
improved 24b colours override
2018-03-05 21:17:24 +01:00
Gregory Pakosz
7f20c79d46
made heat battery palette more visible by removing darker shades. Fixes #138
2018-01-16 17:45:43 +01:00
Gregory Pakosz
e1c968d020
removed trailing 'set -x' / 'set +x' debug code
2017-12-19 08:01:27 +01:00
Gregory Pakosz
5907c00039
fixed stderr redirection bug in _maximize_pane(). Fixes #116
2017-11-18 12:40:43 +01:00
Gregory Pakosz
4cf765468a
fixed bindings reinjection when tmux_conf_new_pane_reconnect_ssh=true. Fixes #115
2017-11-17 09:15:39 +01:00
Gregory Pakosz
89465385db
replace 'export LC_ALL=C' with 'export LC_NUMERIC=C'. Fixes #108 and #110
2017-10-14 23:44:53 +02:00
Gregory Pakosz
a071b001cf
export LC_ALL=C to avoid decimal separator issues
2017-09-26 21:42:00 +02:00
Gregory Pakosz
2849c14e0c
fixed maximize pane not supporting session names with spaces
2017-09-26 21:42:00 +02:00
Gregory Pakosz
7cdc172e22
properly quote %% when prompting for session name
2017-09-08 23:36:41 +02:00
Gregory Pakosz
9d5817bb01
dual licensed under both the WTFPLv2 and MIT licenses. Resolves #102
2017-08-20 21:03:44 +02:00
Gregory Pakosz
10a445b491
wait a bit more between sending C-l to the terminal and clearing tmux history
2017-07-21 09:18:10 +02:00
Gregory Pakosz
e7cbc84bed
removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88 (2)
2017-07-17 12:04:55 +02:00
Gregory Pakosz
03ec982a50
simplified _toggle_mouse() implementation
2017-07-09 10:52:56 +02:00
Gregory Pakosz
513e77b03b
made bindings reinjection more robust. Closes #89
2017-06-26 20:45:29 +02:00
Gregory Pakosz
09fc3d5b48
fixed battery status information on macOS. Fixes #91 (2)
2017-06-26 13:30:31 +02:00
Gregory Pakosz
98a896bc69
fixed tmux_conf_copy_to_os_clipboard on Linux when xclip is installed and not xsel
2017-06-26 07:35:21 +02:00
Gregory Pakosz
27b262fda8
fixed battery status information on macOS. Fixes #91
2017-06-25 11:41:11 +02:00
Gregory Pakosz
6fc4ad76b7
removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88 (2)
2017-06-22 21:36:46 +02:00
Gregory Pakosz
68f1509735
removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88
2017-06-21 22:03:43 +02:00
Gregory Pakosz
15f03e7ce6
fixed #{username} broken under Cygwin
2017-06-21 22:03:42 +02:00
Gregory Pakosz
32c14a61c6
made battery and uptime work under MSYS2 / MINGW
2017-06-21 22:03:42 +02:00
Gregory Pakosz
680783c91b
added support for multiple batteries, resolves #73
2017-06-21 22:03:42 +02:00
Gregory Pakosz
a631d03b29
use grep -E instead of egrep as per shellcheck SC2196 warning
2017-06-21 22:03:42 +02:00
Gregory Pakosz
cb4ded9fcb
moved buffer bindings to a dedicated section
2017-06-21 22:03:42 +02:00
Gregory Pakosz
7f48779a22
generalized options affecting bindings by parsing the output of tmux list-keys
...
and reinjecting modified commands into tmux bind-key, closes #68
applies to:
- tmux_conf_new_window_retain_current_path
- tmux_conf_new_pane_retain_current_path
- tmux_conf_new_pane_reconnect_ssh
- tmux_conf_copy_to_os_clipboard
2017-06-21 22:03:21 +02:00
Gregory Pakosz
264a577ba1
added tmux_conf_copy_to_os_clipboard variable, closes #75
...
When true, copying selection with y in copy mode also sends selection to the OS
clipboard.
2017-05-17 22:23:23 +02:00
Gregory Pakosz
785ba173a3
worked around tmux 2.4 not properly refreshing status, see tmux/tmux#922
2017-05-13 14:23:45 +02:00
Gregory Pakosz
cab561ad61
converted tabs to spaces. Closes #59
2017-04-08 21:37:01 +02:00
Gregory Pakosz
b0c3b6a09f
tmux 2.4 got rid of mode keys. Closes #42
...
- vi-copy is replaced by a normal copy-mode-vi key table
- vi-edit and vi-choice are gone
2017-04-08 21:37:00 +02:00
Gregory Pakosz
8e174fef28
stopped using U+26A1 and U+1F50B for battery charging status indicator by default
...
Closes #32 , #51 and #55
2017-04-08 21:37:00 +02:00
Gregory Pakosz
3ef7fe67b5
fixed maximize pane not succeeding in maximizing the current pane
2017-02-28 17:12:22 +01:00
Gregory Pakosz
5746e69af7
raised escape-time to 10 ms to unbreak tmux under WSL, fixes #52
2017-02-28 13:00:42 +01:00
Gregory Pakosz
95f88dee38
replaced the fancy ►_◄ heredoc EOF marker to make Raspberry Pis happy
2017-02-09 15:01:48 +01:00
Gregory Pakosz
718adf13e3
removed leftover debugging code in _username()
2017-01-03 14:13:39 +01:00
Gregory Pakosz
ba20476af6
fixed default-command when using fish shell, fixes #46
2016-12-21 17:56:11 +01:00
Gregory Pakosz
37586cdd60
made default-command use the value of default-shell
2016-12-05 12:25:34 +01:00
Gregory Pakosz
1bfce57aaa
fixed maximize pane when another session already contains a maximized window, fixes #37
2016-11-09 20:31:47 +01:00
Gregory Pakosz
71a2b76681
fixed shellcheck warnings
2016-11-08 21:15:14 +01:00
Yang Tang
8390d37ed8
added #{load_avg}
2016-11-04 20:40:17 +01:00
Gregory Pakosz
f828eafc2b
added #{battery_hbar} using U+258F - U+2588
2016-10-31 21:34:27 +01:00
Gregory Pakosz
689f2f0f2c
fixed #{battery_bar} and #{battery_vbar} when not using heat or gradient palettes
...
fixes #35
2016-10-31 18:36:20 +01:00
Gregory Pakosz
1503232773
major rewrite, closes #10 , #23 , #30 and #31
...
- status-justify aware status line
- flexible status line definition with many new variables/indicators:
- #{battery_bar}, #{battery_vbar}, #{battery_percentage}
- #{uptime_d}, #{uptime_h}, #{uptime_m}, #{uptime_s}
- #{pairing}, #{prefix}, #{root}
- #{username}, #{username_ssh}, #{hostname}, #{hostname_ssh}
- ...
- smart username and hostname variables:
- detects root user
- detects SSH sessions to remote servers
- support for circled session names (when number) and window identifiers up to 20:
- #{circled_session_name}, #{circled_window_index}
- support for connecting to the same host when splitting a pane running an SSH session
- support for 24b colours
- support for OpenBSD (tested with OpenBSD 6.0)
- cleaned everything with shellcheck
2016-10-27 23:42:01 +02:00
Gregory Pakosz
15d593398f
enable focus events
2016-10-26 12:51:13 +02:00
Gregory Pakosz
959844df3a
added new variables for separators and removed separator in windows-status-current-format
...
tmux_conf_theme_left_separator_main
tmux_conf_theme_left_separator_sub
tmux_conf_theme_right_separator_main
tmux_conf_theme_right_separator_sub
closes #24
2016-10-26 12:51:13 +02:00
Gregory Pakosz
2a7a0c39b6
made C-l more robust by using not shelling out to clear history
2016-07-29 18:34:03 +02:00
Gregory Pakosz
8d847600db
test for buggy swap-pane command in tmux 1.9 and 1.9a once in apply_configuration()
2016-04-20 21:58:26 +02:00
Gregory Pakosz
5156c9fe23
added licensing information: released under the WTFPL v2 license
2016-03-29 09:21:00 +02:00