feat: resolve symlinks to the config

This commit is contained in:
outfoxxed 2024-03-08 02:20:53 -08:00
parent f32b4175fb
commit f5d3457815
Signed by untrusted user: outfoxxed
GPG Key ID: 4C88A185FB89301E
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ int main(int argc, char** argv) {
QString configPath;
if (parser.isSet(configOption)) {
configPath = parser.value(configOption);
configPath = QFileInfo(parser.value(configOption)).canonicalFilePath();
} else {
configPath = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
configPath = QDir(QDir(configPath).filePath("quickshell")).filePath("shell.qml");