1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-29 19:32:05 +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 end
local env_vars = { local env_vars = {
"XDG_RUNTIME_DIR",
"TEMP", "TEMP",
"TMP", "TMP",
"TMPDIR", "TMPDIR",
"XDG_RUNTIME_DIR",
} }
for i = 1, #env_vars do for i = 1, #env_vars do