feat: add --drop-down / quake-style dropdown terminal mode - #1
Closed
rnbwdsh wants to merge 1 commit into
Closed
Conversation
…d behavior if not used Behavior on first launch: create a surface, add a signal handler, render the terminal into that overlay surface Behavior on later launches: find the process that was launched with "--drop-down" and send a signal to it (currently via spawning a process) Handle USR1 signals for toggling dropdown Custom right click context menu in dropdown mode, as maximizing makes no sense Added setting: A secondary show-headers-dropdown that's only visible in drop down mode Added setting: The height of the dropdown in px, I'd like to do relative but to my understanding wayland doesn't trivially allow that Bug byepass in iced: When creating the overlay without any delay, the window is transparent but not "frosted" This is hugely based on pop-os#673 and just rebased and refactored, as various menu things were broken for me. I think this MR is relevant, because people are already vibe coding a non-working version of this: https://github.com/M0Rf30/cosmic-ext-quake-terminal This was partially created with the help of AI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uses wlr_layer_shell via iced's SctkLayerSurfaceSettings for proper positioning (anchored top, full width, configurable height). Single-instance via PID file lock with SIGUSR1 toggle signalling.
This is hugely based on pop-os#673 and just rebased/refactored