From eebd03bb4e3dbd8fabeea5ed432eb624239216b8 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sat, 27 Dec 2025 10:09:32 +0100 Subject: [PATCH] change default config file name --- README.md | 2 +- src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b4f590d..b37aa5d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ For info that with "EVIOCGRAB" the keyboard events can be consumed exclusively b ## Configuration -The configuration can be provided by either specifying a config file path via the `-c` parameter. If no parameter is provided, the default config path under `$HOME/.config/UsbMakroBoard.yaml` is used. +The configuration can be provided by either specifying a config file path via the `-c` parameter. If no parameter is provided, the default config path under `$HOME/.config/usbMakroBoard.yaml` is used. Find the config schema in [schemas/config.schema.json](./schemas/config.schema.json) as well as a default config in [config.yaml](./config.yaml). diff --git a/src/main.cpp b/src/main.cpp index d3b18f8..12b54dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -67,8 +67,8 @@ std::string getConfigPathFromCliArguments(int argc, char *argv[]) configPath = optarg; break; default: - std::cout << "No config path provided. Using default config path: $HOME/.config/UsbMakroBoard.yaml\n"; - configPath = "$HOME/.config/UsbMakroBoard.yaml"; + std::cout << "No config path provided. Using default config path: $HOME/.config/usbMakroBoard.yaml\n"; + configPath = "$HOME/.config/usbMakroBoard.yaml"; } }