Releases: alexsaalberg/tmux-sidelib
Releases · alexsaalberg/tmux-sidelib
v0.2.0
v0.2
-
Added more state change callbacks
has_state_changed()
- Called when prefix is hit when sideapp is already running, or when a timeout has occurred
- Returns
TRUE
orFALSE
- If
TRUE
, sidelib will then callon_state_changed()
- If
FALSE
, sidelib will then callon_repress()
oron_timeout()
, respectively.
- If
- The sideapp can also use this time to save information about the state (for example the current mainpane program).
on_state_changed()
- Called after sidelib is activated if the state has changed.
-
Fixed some functions in
helpers.sh
- Functions relating to
get_program_of_pane()
.
- Functions relating to
-
Added more functions to
helpers.sh
get_pane_dir()
- Returns the directory of the pane who's id is passed in
get_tmux_shell_line()
- Should only be called on a pane whose active program is a shell
- Returns the shell_line of the pane (the stuff after the $)
get_base_dir()
- Returns the base dir of a file path
expand_shell_line_dirs()
- Used by
get_tmux_shell_line()
- Manually expands the /w and /W variables.
- Used by
v0.1.0
Created planned.md