1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-28 11:02:34 +01:00

Reorder tmpdir vars for Rich Presence in NixOS

Resolves #20
This commit is contained in:
Andrew Kwon 2021-06-09 22:54:43 -07:00
parent f4c1e227be
commit f30c304392

View file

@ -293,10 +293,10 @@ function Presence:get_discord_socket()
end
local env_vars = {
"XDG_RUNTIME_DIR",
"TEMP",
"TMP",
"TMPDIR",
"XDG_RUNTIME_DIR",
}
for i = 1, #env_vars do