From 7153205928e043a00231be64f34fa59c11f19e1a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 2 May 2024 17:07:13 +0200 Subject: store lock files in XDG_STATE_HOME Replace the previous wrong combination of XDG_CACHE_HOME and the default location of XDG_DATA_HOME. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 02fee0d..ff38679 100644 --- a/init.lua +++ b/init.lua @@ -13,7 +13,7 @@ -- vis-lockfiles found in the LICENSE file. -- If not, see . local M = {} -M.directory = '${XDG_CACHE_HOME:-${HOME}/.local/share}/vis/locks' +M.directory = '${XDG_STATE_HOME:-${HOME}/.local/state}/vis/locks' -- Helper to execute a command and capture its output local function capture_cmd(cmd) -- cgit v1.2.3