summary refs log tree commit diff
path: root/pkgs/by-name/po/polybar/remove-hardcoded-etc.diff
blob: d0c6db8b6b0acb72aba903ad5cada3d8d11dac08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/utils/file.cpp b/src/utils/file.cpp
index 9511ad61..d3d82b99 100644
--- a/src/utils/file.cpp
+++ b/src/utils/file.cpp
@@ -322,7 +322,7 @@ namespace file_util {
       possible_paths.push_back(xdg_config_dir + suffix + ".ini");
     }
 
-    possible_paths.push_back("/etc" + suffix + ".ini");
+    possible_paths.push_back("@out@" + suffix + ".ini");
 
     for (const string& p : possible_paths) {
       if (exists(p)) {