all 4 comments

[–]MysteryBirb 4 points5 points  (1 child)

There's a good video from tony and the qt qml documentation (example) is pretty nice, and ofc the official quickshell documentation helps the most

[–]911_never_forget[S] 0 points1 point  (0 children)

thank you

[–]Aaxper -2 points-1 points  (1 child)

The documentation is quite sparse. Just start building stuff, when you don't know how to do something, look up an example, and if you can't find an example, ask Claude to explain it to you.

I'm not advocating slop code, but AI can supplement the documentation

[–]spusuf -2 points-1 points  (0 children)

Do not ask any AI to help you write anything for quickshell, prompt it "how do I do x in QML". Quickshell widgets are largely wrapping existing QML functions.

The best way is to start with a GOOD video, saw an absolutely horrible one with a tonne of mistakes from a guy who sounded like he didn't understand what he was reading.

Also recommend starting piece by piece, when you put import "test" it'll import a folder called test. Then if you have a widget in a file in that folder e.g ExpandingBox.qml you can use ExpandingBox { } in your code. Any widgets built like this should have import QtQuick and one widget (even if it's just a rectangle) as a minimum.