aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-05-02 17:07:13 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-05-02 17:07:13 +0200
commit7153205928e043a00231be64f34fa59c11f19e1a (patch)
treec8cfa74456fa7400b3ecf0cd4f0ac694fcdecdaa /init.lua
parentaead994af26e91c3a094b010fcba3d45453c8940 (diff)
downloadvis-lockfiles-7153205928e043a00231be64f34fa59c11f19e1a.tar.gz
vis-lockfiles-7153205928e043a00231be64f34fa59c11f19e1a.zip
store lock files in XDG_STATE_HOME
Replace the previous wrong combination of XDG_CACHE_HOME and the default location of XDG_DATA_HOME.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>.
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)