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

28 lines
845 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 "Workspace.h"
#include "Client.h"
#include "WindowRule.h"
2025-06-10 14:09:56 +02:00
class HyprlandService {
2025-06-11 12:15:47 +02:00
private:
static std::string configFilePath;
public:
static void setConfigFilePath(std::string);
static std::string getConfigFilePath();
static Workspace getCurrentWorkspace();
static std::list<Client> getClients();
static std::list<Client> getClientsOnActiveWorkspace();
static std::list<WindowRule> getWindowRules();
static std::optional<WindowRule> findConflictingRule(WindowRule);
static void setFloatingRule(bool);
static void removeRule(WindowRule);
static void setClientFloating(Client&);
static void setClientTiled(Client&);
static void toggleClientFloating(Client&);
static bool isFloatingRulePresent();
2025-06-10 14:09:56 +02:00
};
#endif