hyprland-plugins/hyprtrails/globals.hpp

12 lines
235 B
C++
Raw Permalink Normal View History

2023-11-04 01:39:14 +01:00
#pragma once
#include <hyprland/src/plugins/PluginAPI.hpp>
inline HANDLE PHANDLE = nullptr;
struct SGlobalState {
CShader trailShader;
wl_event_source* tick = nullptr;
};
inline std::unique_ptr<SGlobalState> g_pGlobalState;