Organized source tree

This commit is contained in:
2025-06-10 14:16:44 +02:00
parent b0d173873c
commit 96ce9c023a
8 changed files with 9 additions and 5 deletions

23
include/Workspace.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef WORKSPACE_H
#define WORKSPACE_H
#include <string>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
class Workspace {
public:
int id;
std::string name;
std::string monitor;
int monitorID;
int windows;
bool hasfullscreen;
std::string lastwindow;
std::string lastwindowtitle;
bool ispersistent;
friend void from_json(const json& j, Workspace& workspace);
};
#endif