swaymux/main.cpp

28 lines
563 B
C++

#include "mainwindow.h"
#include <QApplication>
using namespace Qt::StringLiterals;
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main(int argc, char *argv[])
{
/*
auto sway = Sway();
auto resp = sway.sendIPC(SWAY_GET_OUTPUTS);
std::cout << resp.msg << "\n";
*/
QApplication a(argc, argv);
QCoreApplication::setOrganizationName("Grimmauld");
QCoreApplication::setApplicationName("SwayMux");
QGuiApplication::setDesktopFileName("swaymux");
MainWindow w;
w.showMaximized();
return a.exec();
}