Also supports the ability to auto-hide and auto-show. For example, this can be used to automatically hide a window when opening something, e.g. image viewer, video player, etc. from it, and then re-show the window whenever the image view, video player, etc. is closed.
Also supports the ability to auto-hide and auto-show. For example, this can be used to automatically hide a window when opening something, e.g. image viewer, video player, etc. from it, and then re-show the window whenever the image view, video player, etc. is closed.
Takes a terminal as an argument or one of auto_show, auto_hide, or toggle_auto_hide. 'toggle_auto_hide' toggles whether calling 'auto_hide' or 'auto_show' will have any effect.
Takes a window as an argument or one of auto_show, auto_hide, or toggle_auto_hide. 'toggle_auto_hide' toggles whether calling 'auto_hide' or 'auto_show' will have any effect. 'current' will turn the current window into a dropdown.
usage: tdrop [options] <program> or <auto_show/auto_hide/toggle_auto_hide>
usage: tdrop [options] <program or 'current'> or one of <auto_show/auto_hide/toggle_auto_hide>
options:
options:
-h height specify a height for a newly created term (default: 100%)
-h height specify a height for a newly created term (default: 100%)
-w width specify a width for a newly created term (default: 45%)
-w width specify a width for a newly created term (default: 45%)
@ -18,7 +18,8 @@ options:
-n num num or extra text; only needed if want multiple dropdowns of same program (default: "")
-n num num or extra text; only needed if want multiple dropdowns of same program (default: "")
-p cmd provide a pre command to float the window if necessary
-p cmd provide a pre command to float the window if necessary
-P cmd provide a post command to float the window if necessary
-P cmd provide a post command to float the window if necessary
-W the given program is not a terminal (or lacks an -e flag) (default: assume it IS terminal)
-O cmd provide a one time command only for when a dropdown is created/initiated (useful for 'tdrop -c')
-W the given program is not a terminal (or lacks an -e flag) (default: assume it IS a terminal)
--no-cancel don't cancel auto-showing
--no-cancel don't cancel auto-showing
(default is to prevent this when manually toggling a term after it is auto-hidden)
(default is to prevent this when manually toggling a term after it is auto-hidden)