2024-03-02 22:33:27 +01:00
|
|
|
#include "mainwindow.h"
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
2024-03-04 00:27:05 +01:00
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
|
|
|
|
using json = nlohmann::json;
|
|
|
|
|
2024-03-02 22:33:27 +01:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2024-03-08 13:13:28 +01:00
|
|
|
/*
|
|
|
|
auto sway = Sway();
|
|
|
|
auto resp = sway.sendIPC(SWAY_GET_OUTPUTS);
|
|
|
|
std::cout << resp.msg << "\n";
|
|
|
|
*/
|
|
|
|
|
2024-03-02 22:33:27 +01:00
|
|
|
QApplication a(argc, argv);
|
|
|
|
QCoreApplication::setOrganizationName("Grimmauld");
|
|
|
|
QCoreApplication::setApplicationName("SwayMux");
|
2024-03-10 00:16:37 +01:00
|
|
|
QGuiApplication::setDesktopFileName("swaymux");
|
2024-03-02 22:33:27 +01:00
|
|
|
|
|
|
|
MainWindow w;
|
|
|
|
w.showMaximized();
|
|
|
|
return a.exec();
|
|
|
|
}
|