Files
hyprland-toggle-tiling/include/HyprlandService.h

21 lines
527 B
C
Raw Normal View History

2025-06-10 14:09:56 +02:00
#ifndef HYPRLAND_SERVICE_H
#define HYPRLAND_SERVICE_H
#include <list>
#include <string>
#include "Workspace.h"
#include "Client.h"
#include <nlohmann/json.hpp>
class HyprlandService {
public:
static Workspace getCurrentWorkspace();
static std::list<Client> getClients();
2025-06-10 14:55:42 +02:00
static std::list<Client> getClientsOnActiveWorkspace();
static void setClientFloating(Client&);
static void setClientTiled(Client&);
static void toggleClientFloating(Client&);
2025-06-10 14:09:56 +02:00
static std::string exec(const std::string& command);
};
#endif