From 8c16b1c0d2a626fb23f7a5ac9d531feada375b01 Mon Sep 17 00:00:00 2001 From: mediocregopher Date: Sun, 17 Dec 2023 21:47:54 +0100 Subject: [PATCH] Add tmpfiles creation --- Makefile | 10 +++++++--- base/tmpfiles.conf | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 base/tmpfiles.conf diff --git a/Makefile b/Makefile index 494f2f4..c072013 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,11 @@ install-fonts: chmod o+w -R ~/.local/share/fonts/loadout fc-cache -install-keyboard: - sudo cp ./base/00-keyboard.conf /etc/X11/xorg.conf.d/00-keyboard.conf +install-tmpfiles: + mkdir -p ~/.config/user-tmpfiles.d + cp base/tmpfiles.conf ~/.config/user-tmpfiles.d/loadout.conf + systemctl --user enable systemd-tmpfiles-setup.service + systemctl --user enable --now systemd-tmpfiles-clean.timer -install: setup-pulseaudio install-pamd install-rm-keyfile install-fonts install-keyboard install-loadout + +install: setup-pulseaudio install-pamd install-rm-keyfile install-fonts install-tmpfiles install-loadout diff --git a/base/tmpfiles.conf b/base/tmpfiles.conf new file mode 100644 index 0000000..38c0d0a --- /dev/null +++ b/base/tmpfiles.conf @@ -0,0 +1 @@ +d %h/Downloads 0700 - - 30d