1
0
Fork 0
mirror of synced 2024-11-18 07:25:34 -05:00
Commit graph

53 commits

Author SHA1 Message Date
Gregory Pakosz
72f09fae75 added tmux_conf_theme that controles whether theming is enabled or disabled, resolves #536 2023-01-04 11:26:39 +01:00
Gregory Pakosz
aea75c7ea4 use %if ... %endif conditionals to enhance tmux_conf_theme_pane_active_border for tmux >= 3.2, resolves #490 2023-01-04 11:26:39 +01:00
Gregory Pakosz
5c41188a31 removed support for tmux < 2.4 2023-01-04 11:26:39 +01:00
sarumont
ccbfdf2091 added support for wl-clipboard, closes #589, closes #606
see https://github.com/bugaevc/wl-clipboard
2022-10-22 13:44:55 +02:00
Gregory Pakosz
18a111ff93 added a way to mark set/bind/unbind commands as important in ~/.tmux.conf.local, closes #571
inspired by css, any set/bind/unbind command ending with #!important will be
executed honored, e.g.:

bind-key -T copy-mode-vi Escape send-keys -X clear-selection #!important
2022-07-20 21:11:24 +02:00
Gregory Pakosz
52f1c4a3b1 updated the weather() sample function, closes #580
- increase the curl timeout to 2 seconds
- use curl -f -s instead of redirecting stderr to /dev/null
- print an empty line in case curl is not available or exists in error,
  which should prevent tmux from displaying <... not ready>
2022-07-16 20:36:33 +02:00
Gregory Pakosz
e865a8a1c1 added a way to selectively disable binding manipulation, closes #514
you can set the following variables to 'disabled':
  - tmux_conf_new_window_retain_current_path
  - tmux_conf_new_pane_retain_current_path
  - tmux_conf_new_pane_reconnect_ssh
  - tmux_conf_new_session_prompt
  - tmux_conf_copy_to_os_clipboard
2022-07-14 16:50:58 +02:00
Gregory Pakosz
f1cc46812b added RGB 24-bit colour support automatic detection 2022-05-23 08:08:33 +02:00
Gregory Pakosz
a97e3021cc updated tpm integration
- automatically delete tpm when not used
- automatically delete unused plugins
- install plugins when subsequently enabling then in ~/.tmux.conf.local
- use <prefix> + u to update plugins as <prefix> + U is bound to Urlview, fixes #507
2021-09-18 16:35:48 +02:00
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
ed0b83a118 use single quotes for strings containing Unicode escapes, fixes #486 2021-06-05 22:22:34 +02:00
Gregory Pakosz
5abe651ccb remind people to not "uncomment" local functions in .tmux.conf.local 2021-02-25 14:02:46 +01:00
Gregory Pakosz
7a71a82b43 fixed #{online} custom variable implementation as ping -t is not portable, fixes #451 2021-01-25 17:38:53 +01:00
Gregory Pakosz
d950ee3c8c added support for tpm, resolves #61 2021-01-09 21:04:48 +01:00
Gregory Pakosz
8a4dabb196 added support for #{hostname_full} and #{hostname_full_ssh}, closes #361 2020-12-08 22:10:36 +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
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
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
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
e0a45082eb added support for #{uptime_y} variable 2019-06-22 21:48: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
2a22e8b583 mentioned strftime '%I:%M %p' format in tmux_conf_theme_clock_style documentation 2019-03-19 22:42:31 +01: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
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
51cef6f32a added space to default tmux_conf_theme_pairing and tmux_conf_theme_prefix likely rendered as double width emojis 2017-09-26 21:42:00 +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
fe615a2444 show how to start with mouse mode enabled. Closes #97 2017-07-09 10:52:56 +02:00
Gregory Pakosz
0d80a1e8ba mentioned tmux_conf_copy_to_os_clipboard requires xsel or xclip on Linux 2017-06-26 07:36:20 +02:00
Gregory Pakosz
ba6fe0a985 added U+1F50C as a suggestion for tmux_conf_battery_status_charging 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
6b7d2e7513 show how to replace C-b by C-a instead of using both prefixes 2017-05-10 14:53:29 +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
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
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
9f939fd939 fixed various typos, closes #17, #19 and #21 2016-10-26 12:51:13 +02:00
Gregory Pakosz
5156c9fe23 added licensing information: released under the WTFPL v2 license 2016-03-29 09:21:00 +02:00
Gregory Pakosz
de55dc6e6a added a percentage style to the battery indicator 2016-03-29 09:21:00 +02:00
Gregory Pakosz
ea254d494f optionally highlight the focused pane 2015-12-05 15:56:22 +01:00
Gregory Pakosz
c66be48314 added an indicator in the status line that shows if <prefix> has been pressed 2015-10-28 21:26:23 +01:00
Gregory Pakosz
b9943589e3 optionally prompt for session name when creating a new session 2015-10-26 21:08:34 +01:00
Gregory Pakosz
921c6d14d0 made the theme more flexible by adding configuration variables 2015-10-26 21:08:34 +01:00
Gregory Pakosz
aa966c5708 made <prefix> e edit ~/.tmux.conf.local instead of ~/.tmux.conf 2015-10-11 20:37:58 +02:00
Gregory Pakosz
81b6897294 pimped the battery indicator with a gradient palette 2015-09-14 21:17:06 +02:00
Gregory Pakosz
b37311fbbe added battery status indicator (charging / discharging) 2015-04-27 18:17:02 +02:00
Gregory Pakosz
e5117980de pimped the battery indicator with a heat palette 2015-04-15 15:14:28 +02:00