[Launcher] Improve type definitions

This commit is contained in:
2025-04-14 16:17:21 +02:00
parent d9fdf1ee6d
commit ed17459e2a
8 changed files with 59 additions and 9 deletions

View File

@@ -57,3 +57,8 @@
- [ ] Installer for configs
- [ ] Vivado cleanup (run after vivado and hope vivado is blocking (or simply execute vivado in /tmp))
- [ ] migrate to zoxide from autojump
Using astal (https://aylur.github.io/astal, which is gjs based), write a component that takes as argument a UIComponent array (pre-defined interface) and depending on what subclass of that interface it is renders a different component for each element.
I have the type definitions of UIComponent below. The possible subclasses are LargeUIComponent, MediumUIComponent, ListUIComponent and CalculationUIComponent.
Design-wise, I would like to have something similar to GNOME's layout.