Commit graph

26 commits

Author SHA1 Message Date
b1e2bb3bc6 feat(bar): horizontal top bar — Phase A geometry (NoSignal layout)
Convert the bar from a vertical left-edge strip to a horizontal top bar. The
shell had no orientation abstraction, so this flips the geometry across the bar
and the drawer/region/interaction layer:

- Bar.qml: ColumnLayout -> RowLayout; hit-testing (checkPopout/handleWheel),
  scroll halves and popout-center anchoring all keyed off x instead of y;
  first/last padding -> left/right margins.
- BarWrapper.qml: the bar's "thickness" is now its height (clampedHeight/
  contentHeight/implicitHeight); content anchors left/right/top.
- drawers: Exclusions (exclusive zone moved left->top), Panels (content inset
  topMargin = bar height), Regions + ContentWindow (panel->window coordinate
  mapping and the thick border flip left->top), Interactions (bar-region check
  y<barHeight, panel Y-origin uses bar height, scroll passes x, bar drag-reveal
  is vertical).
- widgets: Clock (Row, HH:MM with a colon), StatusIcons (Row), Workspaces +
  Workspace (Row), Tray (Row, expand chevron at the right) — each sizes to the
  bar height instead of width.

Verified live in the dev VM: top bar renders with centered-clock entries, the
exclusion zone keeps windows below the bar, and the dashboard drops down
correctly. Popout fly-outs still anchor sideways (Phase B).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 23:26:55 +01:00
2 * r + 2 * t
b3270c6ca8 fix: unload bar properly 2026-06-06 16:01:57 +10:00
2 * r + 2 * t
158588ce89 refactor: no need to explicitly type as default spatial
Default spatial is the default type, so no need to type anims as such
2026-04-23 03:47:56 +10:00
2 * r + 2 * t
57db6e246c feat: use M3 padding tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
d675478e91 refactor: use new anim type prop 2026-04-15 18:32:19 +10:00
2 * r + 2 * t
71dd7b4db8 chore: format QML imports 2026-04-11 22:17:24 +10:00
2 * r + 2 * t
d99fefdd34 fix: use correct anim tokens in QML 2026-04-11 21:41:31 +10:00
2 * r + 2 * t
b5dcd07ab8 fix: use correct size tokens in QML 2026-04-11 21:24:16 +10:00
2 * r + 2 * t
3a37d77d1f feat: replace qml config module with c++ module 2026-04-11 21:18:56 +10:00
2 * r + 2 * t
0e50b62413 refactor: move drawers window -> ContentWindow.qml 2026-04-06 23:38:36 +10:00
Robin Seger
c588794b20
feat: fullscreen notification & toasts overlay (#1276)
* reworked fullscreen mode as transforming shell

* controlcenter configuring of toasts & notifs

* fix animation on fs switch

* border rounding & shadow animation

* change controlcenter notifications layout

* stay on WlrLayer.Overlay, use Anim

* ci: update action versions

* qmlformat

* format take two

* third time's the charm

* fix: special workspace fullscreen

* fix: bar width border.thickness on non-persistent behaviour

* merge fix

* stop layout shift on close

* last few conventions sorted

* linting

* maximized state to fullscreen

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2026-03-29 15:22:00 +11:00
2 * r + 2 * t
d0f2df9bae chore: fix all import formats 2026-03-22 06:02:19 +11:00
2 * r + 2 * t
2a54c089a4 chore: fix rest of linter warnings 2026-03-22 01:31:52 +11:00
2 * r + 2 * t
20c7482b2b chore: fix bar linter warnings 2026-03-21 16:04:57 +11:00
2 * r + 2 * t
d2acd1014d chore: fix PersistentProperties missing-prop linter errors 2026-03-20 22:17:36 +11:00
2 * r + 2 * t
70d6225186 feat: allow hover drawers when border < 2
Closes #1297
2026-03-19 21:36:48 +11:00
Bora Gülerman
24b313497f
bar: add config option to disable on selected screens (#920)
* modules/drawers: Added a bar config option to disable the bar on selected screens

Extended the visualizer on screens that the bar is hidden

* modules/drawers: surrounded barwrapper with a loader

* fix/modules/drawers: fix a null reference

missed to fix a reference to bar object to barLoader.item

* modules/drawers: added regex support

also reverted the barLoader, added a disabled property to BarLoader
instead

* fix: module/drawers: applied requested changes
2025-11-26 15:45:49 +11:00
2 * r + 2 * t
d191ac44b5 bar: add compact tray option
Closes #659
2025-09-25 16:14:24 +10:00
2 * r + 2 * t
6e8a32d4e4 internal: use Anim component 2025-08-24 17:22:00 +10:00
2 * r + 2 * t
d8f7bac960 bar/workspaces: refactor 2025-08-16 00:10:48 +10:00
2 * r + 2 * t
2be46ff65a internal: static bar width 2025-08-15 21:49:09 +10:00
2 * r + 2 * t
ec9d0359d5 lock/fetch: hide user when bat and smol 2025-08-13 15:00:22 +10:00
Laurens Duin
3710df29f5
bar: allow hiding items and reordering (#379)
* feat: reorder bar, no popout yet

* chore: cleanup

* refactor: use DelegateChooser

* feat: popouts

* chore: cleanup

* better popout check + fix async stuff + bar interaction

+ a bunch of other fixes

* fix activewindow and bar vertical padding

* readme: add config opt

* bar: fix top/bottom padding

* bar: better wheel behaviour

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2025-08-13 14:31:48 +10:00
Soramane
4598e8a775 internal: use new qs imports 2025-07-16 18:02:28 +10:00
2 * r + 2 * t
1bd92b4740 bar: some internal fixes 2025-07-10 13:46:05 +10:00
2 * r + 2 * t
6222f969d4 feat: non persistent bar option 2025-07-10 13:37:34 +10:00