hyprland-plugins/hyprbars/globals.hpp

17 lines
333 B
C++
Raw Normal View History

2023-02-28 21:30:51 +01:00
#pragma once
2023-05-01 03:57:48 +02:00
#include <hyprland/src/plugins/PluginAPI.hpp>
2023-02-28 21:30:51 +01:00
2023-10-29 18:33:32 +01:00
inline HANDLE PHANDLE = nullptr;
struct SHyprButton {
std::string cmd = "";
CColor col = CColor(0, 0, 0, 0);
float size = 10;
};
struct SGlobalState {
std::vector<SHyprButton> buttons;
};
inline std::unique_ptr<SGlobalState> g_pGlobalState;