forked from quickshell/quickshell
feat: resolve symlinks to the config
This commit is contained in:
parent
f32b4175fb
commit
f5d3457815
|
@ -28,7 +28,7 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
QString configPath;
|
QString configPath;
|
||||||
if (parser.isSet(configOption)) {
|
if (parser.isSet(configOption)) {
|
||||||
configPath = parser.value(configOption);
|
configPath = QFileInfo(parser.value(configOption)).canonicalFilePath();
|
||||||
} else {
|
} else {
|
||||||
configPath = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
|
configPath = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
|
||||||
configPath = QDir(QDir(configPath).filePath("quickshell")).filePath("shell.qml");
|
configPath = QDir(QDir(configPath).filePath("quickshell")).filePath("shell.qml");
|
||||||
|
|
Loading…
Reference in a new issue