I think I figured out how to modify LayerShellQt panels at runtime from QML: just define the "LayerShellQt::Window" pointer in the header file instead of "main()". I learned this from LXQt's panel.

#Qt #LayerShell #LayerShellQt #QtQuick

I'm experimenting. For some reason it's fullscreen even though I don't want it to always be fullscreen.

#Retiled #programming #LayerShell #Smithay

With that code I found earlier, I ported the old layer shell qt QML example to the new library properly. It's sadly AGPLv3 though, wish it could be less. If anyone has better replacement code that's not (A)GPL, I'll be grateful. I don't like the GPL due to its ties with the FSF and RMS so when I use it, there's no other choice.

https://codeberg.org/DrewNaylor/layer-shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp

#programming #QtQuick #Wayland #LayerShell #QML

layer-shell-qt-updatedqmldemo/tests/mainex.cpp at master

layer-shell-qt-updatedqmldemo - KDE's Layer-Shell-Qt but with an updated QML demo from Drew DeVault's old QtLayerShell.

Codeberg.org