hyprland-plugins/hyprbars/globals.hpp

17 lines
No EOL
333 B
C++

#pragma once
#include <hyprland/src/plugins/PluginAPI.hpp>
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;