summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fbd3da47..35080439 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,7 +22,7 @@ void help() {
int main(int argc, char** argv) {
if (!getenv("XDG_RUNTIME_DIR"))
- throw std::runtime_error("XDG_RUNTIME_DIR is not set!");
+ throwError("XDG_RUNTIME_DIR is not set!");
// export HYPRLAND_CMD
std::string cmd = "";