AvengeMedia / AvengeMedia/DankMaterialShell
"Zen" or, inverted "compact" focusedWindow variant
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Feature Description
On smaller screens, and even larger ones depending on the population of the bar, the focused window widget can easily extend too far to the right and go underneath other widgets.
The current flow is you either have a full bar that shows `window - windowContent`, or just `windowContent`, so im proposing we add a _just_ `window` version.
### Use Case
When youre on smaller screens, or well populated bars, sometimes your focused window can overlap other widgets
this can be **_partially_** remedied by turning on the "compact" mode, which truncates the `window` section, but depending on the context of your window, the maximum length can still be unreasonably large if all you want is something like this for all your apps
### Compositor(s)
All compositors
### If Other, please specify
this might be compositor specific? idk i use niri
### Proposed Solution
If we can truncate the application section off of the text the widget shows the user, just flip that, and instead of passing the content pass the application. You toggle between `full` `compact`, and `zen` where zen is the minimalist, "heres the window youre looking at", and nothing more.
### Alternatives/Existing Solutions
Some applications like Vesktop already do this with in app toggles, and there are some (some considered hacky) scripts and wrappers that can achieve the same goal.
Contributor guide
Research direction
Start by locating the focused window widget and tracing how its existing full and compact variants choose between window and windowContent. Add the proposed minimalist variant alongside those modes, then verify that it shows only the focused application's window text without overlapping neighboring widgets on smaller or crowded bars.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100