summaryrefslogtreecommitdiff
path: root/start/src/core/State.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-12-05 15:40:03 +0000
committerGitHub <noreply@github.com>2025-12-05 15:40:03 +0000
commit016eb7a23db54cb33ed722f682c7171027a91945 (patch)
tree47e9a200d1048a2a4d6b10fe7eae0bee4822c0a5 /start/src/core/State.hpp
parentec6756f961b5b6b12a53ec0387632e4495529f28 (diff)
start: init start-hyprland and safe mode (#12484)
Diffstat (limited to 'start/src/core/State.hpp')
-rw-r--r--start/src/core/State.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/start/src/core/State.hpp b/start/src/core/State.hpp
new file mode 100644
index 00000000..6cf73a96
--- /dev/null
+++ b/start/src/core/State.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "../helpers/Memory.hpp"
+
+#include <span>
+#include <optional>
+
+struct SState {
+ std::span<const char*> rawArgvNoBinPath;
+ std::optional<std::string> customPath;
+};
+
+inline UP<SState> g_state = makeUnique<SState>(); \ No newline at end of file