feat: basic plugin system

The wayland plugin now uses it.
This commit is contained in:
outfoxxed 2024-02-25 23:47:17 -08:00
parent 6c6272e523
commit 3bd587cfcc
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 94 additions and 4 deletions

View file

@ -8,6 +8,7 @@
#include <qstandardpaths.h>
#include <qstring.h>
#include "plugin.hpp"
#include "rootwrapper.hpp"
int main(int argc, char** argv) {
@ -38,6 +39,8 @@ int main(int argc, char** argv) {
return -1;
}
QuickshellPlugin::initPlugins();
// Base window transparency appears to be additive.
// Use a fully transparent window with a colored rect.
QQuickWindow::setDefaultAlphaBuffer(true);