Replies: 1 comment
-
For this to work, we would need a stable version, which I am really close to releasing. This topic came up a few times on Discord now too, and I do like the idea and want a place to host user contributed widget implementations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've spent few weeks using AGS and I think it's pretty good abstraction over GJS. There's one thing I don't really like about it though - sharing configs with others. I'm currently running slightly modified config of @Aylur and while copying someone's config is probably not the best way to use something like AGS, building your own config from scratch is not easier.
That got me thinking about the ways to implement modular widgets and I think it could be pretty nice to leverage some Widget registration system with each widget following some structure like
With that structure all widgets could be put into ~/.config/ags/widgets, imported dynamically (let's say each widget exposes Register function). I think there are 2 benefits to that approach
With system following that ideas I can imagine widget ecosystem created around AGS, which would lower barrier to entry and help avoid reinventing same things. With nix flakes and home manager module, there could be special attribute exposed like
extraWidgets
orextraServices
(same idea as before really). That would split config into 2 parts - widget/service declaration part (imperative) and layout (more declarative).Beta Was this translation helpful? Give feedback.
All reactions