#include #include #include int main() { std::string userInput; std::system("mkdir -p ~/.config/KittyToolTheme"); std::cout << "Hello User! Drop your extended kitty.conf into ~/.config/KittyToolTheme \n"; std::cout << "This tool is a manager for kitty themes. Colour themes work best with this tool!\n"; std::cout << "Please enter the name of the configuration file you want to use.\n"; std::cout << ">> "; std::getline(std::cin, userInput); std::cout << "\n"; std::cout << "Dropping " << userInput << " into ~/.config/kitty/theme.conf... Make sure to include in kitty.conf\n"; std::string moveCmd = "cp ~/.config/KittyToolTheme/" + userInput + ".conf ~/.config/kitty/theme.conf"; int finalize = std::system(moveCmd.c_str()); if (finalize != 0) { std::cout << "Failed!"; return 1; } else { std::cout << "Success!"; return 0; } }