Added git commit message to hyprctl version

This commit is contained in:
vaxerski 2022-04-22 18:29:32 +02:00
parent e3b19e0131
commit d7b3145b2e
3 changed files with 11 additions and 1 deletions

View file

@ -72,7 +72,7 @@ std::string layersRequest() {
}
std::string versionRequest() {
std::string result = "Hyprland, built from branch " + std::string(GIT_BRANCH) + " at commit " + GIT_COMMIT_HASH + ", flags: (if any)\n";
std::string result = "Hyprland, built from branch " + std::string(GIT_BRANCH) + " at commit " + GIT_COMMIT_HASH + " (" + GIT_COMMIT_MESSAGE + ").\nflags: (if any)\n";
#ifdef LEGACY_RENDERER
result += "legacyrenderer\n";