From 980c5408489a3a3a56e49c3873f1bce6a0155cad Mon Sep 17 00:00:00 2001 From: PS Date: Sun, 1 Feb 2026 12:02:03 +0100 Subject: version 0.2.0.0 --- src/lib/source/user/xdg/xdg-runtime-dir/down | 10 ++++++++++ src/lib/source/user/xdg/xdg-runtime-dir/type | 1 + src/lib/source/user/xdg/xdg-runtime-dir/up | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 src/lib/source/user/xdg/xdg-runtime-dir/down create mode 100644 src/lib/source/user/xdg/xdg-runtime-dir/type create mode 100644 src/lib/source/user/xdg/xdg-runtime-dir/up (limited to 'src/lib/source/user/xdg/xdg-runtime-dir') diff --git a/src/lib/source/user/xdg/xdg-runtime-dir/down b/src/lib/source/user/xdg/xdg-runtime-dir/down new file mode 100644 index 0000000..6a12661 --- /dev/null +++ b/src/lib/source/user/xdg/xdg-runtime-dir/down @@ -0,0 +1,10 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://specifications.freedesktop.org/basedir-spec/latest/ + +fdmove -c 2 1 + +importas -Si XDG_RUNTIME_DIR + +rm -Rf ${XDG_RUNTIME_DIR} diff --git a/src/lib/source/user/xdg/xdg-runtime-dir/type b/src/lib/source/user/xdg/xdg-runtime-dir/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/src/lib/source/user/xdg/xdg-runtime-dir/type @@ -0,0 +1 @@ +oneshot diff --git a/src/lib/source/user/xdg/xdg-runtime-dir/up b/src/lib/source/user/xdg/xdg-runtime-dir/up new file mode 100644 index 0000000..518e994 --- /dev/null +++ b/src/lib/source/user/xdg/xdg-runtime-dir/up @@ -0,0 +1,10 @@ +#!@shebangdir@/execlineb -P + +# ISC license. +# https://specifications.freedesktop.org/basedir-spec/latest/ + +fdmove -c 2 1 + +importas -Si XDG_RUNTIME_DIR + +if { mkdir -p -m700 -- ${XDG_RUNTIME_DIR} } -- cgit v1.2.3