Setting up a Dropdown terminal #1556
paulodiovani
started this conversation in
general
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a generic script for a Dropdown Terminal (using
Ctrl+Esc
in my settings) that should work with any terminal.Goals
Config attempts
Attempt 01
Fully managed by Aerospace
Aerospace can use
on-window-detected
to detect windows and make it float, but cannot move or resize floating windows.Attempt 02
Partially managed by Aerospace + Apple Script to move/resize.
Alacritty won't accept it. Neither will Kitty.
It looks like the application must be scriptable for this to work. -- I'm not quite what that means (source: https://stackoverflow.com/a/12021536).
Attempt 03
Partially managed by Aerospace + Terminal startup options to move/resize.
Most terminal emulators have command line options that allow to set window dimensions and position.
For Alacritty we can use the
window
options with -o.window.dimensions.lines
to anything less than35
the window is not positioned at the top.Partially working solution (columns and lines may change according to screen resolution):
TODO / Missing features
If anyone has an alternative solution, please share in the comments.
Beta Was this translation helpful? Give feedback.
All reactions