summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormediocregopher <mediocregopher@gmail.com>2023-12-17 21:47:54 +0100
committermediocregopher <mediocregopher@gmail.com>2023-12-17 21:47:54 +0100
commit8c16b1c0d2a626fb23f7a5ac9d531feada375b01 (patch)
treec48d9404b416e6963b80a99717c59cd8b2607b1f
parent22d28d232ce19a2001e9eca737e0eac788a20642 (diff)
Add tmpfiles creation
-rw-r--r--Makefile10
-rw-r--r--base/tmpfiles.conf1
2 files changed, 8 insertions, 3 deletions
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