All shell scripts and config files should be executable (755) for direct invocation. No content changes.
10 lines
189 B
Desktop File
Executable File
10 lines
189 B
Desktop File
Executable File
[Unit]
|
|
Description=Empty Downloads folder on login
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/bash -c 'rm -rf %h/Downloads/* %h/Downloads/.* 2>/dev/null'
|
|
|
|
[Install]
|
|
WantedBy=default.target
|