lbonn / i3-quickterm

A small drop-down terminal for i3 and sway
MIT License
128 stars 13 forks source link

[FR] remember shell resizes between toggles #11

Open laur89 opened 4 years ago

laur89 commented 4 years ago

qt offers ratio configuration for setting height, but in addition to that I'd prefer it to also remember our ad-hoc resizes between toggles.

Current state: a) shell is opened, height X b) shell height is resized to Y c) shell is toggled, hiding it d) shell is toggled again, height X

To-be state: a) shell is opened, height X b) shell height is resized to Y c) shell is toggled, hiding it d) shell is toggled again, height remains at Y

Just fyi I'm working on it already, will be sending in a PR soon for consideration.