replace java envvar

This commit is contained in:
Vaxry 2023-01-09 21:26:19 +01:00
parent 989ee6473f
commit 20a1a47e66

View file

@ -19,7 +19,7 @@ int main(int argc, char** argv) {
cmd += std::string(i == 0 ? "" : " ") + argv[i]; cmd += std::string(i == 0 ? "" : " ") + argv[i];
setenv("HYPRLAND_CMD", cmd.c_str(), 1); setenv("HYPRLAND_CMD", cmd.c_str(), 1);
setenv("XDG_BACKEND", "wayland", 1); setenv("XDG_BACKEND", "wayland", 1);
setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 0); setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1);
// parse some args // parse some args
std::string configPath; std::string configPath;