Lots of changes
This commit is contained in:
parent
f0f752b6c5
commit
e43e6971d9
24 changed files with 98 additions and 509 deletions
6
home/.config/systemd/user/trash-empty.service
Normal file
6
home/.config/systemd/user/trash-empty.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Removes files older than a week from trash can
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/trash-empty 7
|
9
home/.config/systemd/user/trash-empty.timer
Normal file
9
home/.config/systemd/user/trash-empty.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Runs trash-empty.service every hour
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=1h
|
||||
Unit=trash-empty.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Add a link
Reference in a new issue