summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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