summarylogtreecommitdiffstats
path: root/envs.patch
blob: a7319f61240a214e5e7485f9567d83587a329fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/main.cpp b/src/main.cpp
index e1f43ad0..0e716007 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -34,6 +34,7 @@ int main(int argc, char** argv) {
     setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1);
     setenv("MOZ_ENABLE_WAYLAND", "1", 1);
     setenv("XDG_CURRENT_DESKTOP", "Hyprland", 1);
+    setenv("LD_PRELOAD", "/usr/lib/libasan.so.8.0.0", 1);
 
     // parse some args
     std::string              configPath;