From 01bc6a33eb235cd10851e2c31b99e6840603ca7d Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Thu, 1 Jun 2023 12:53:13 +1200 Subject: IT WORKS!!!!!! The new config commands system works, finally able to run this as a test and it works!!!!!. Still more to be done but at least it works. --- config.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index e6d6227..b02dc9e 100644 --- a/config.h +++ b/config.h @@ -26,9 +26,6 @@ public: std::vector loadFromFile(std::string path); std::vector reloadFile(); - // Startup - std::string* startupBash; - int startupBashc; // Main int gaps; @@ -38,6 +35,8 @@ public: // Workspaces std::vector workspaces; int numWS; + bool loaded = false; + // Config Commands COMMAND(gapsCmd); @@ -45,15 +44,7 @@ public: COMMAND(logFileCmd); COMMAND(addWorkspaceCmd); - // Keybind Commands - COMMAND(exit); - COMMAND(spawn_once); - COMMAND(changeWS); - COMMAND(wToWS); - COMMAND(focChange); - COMMAND(reload); private: CommandsModule& commandsModule; - bool loaded = false; std::string file; }; -- cgit v1.2.3