blob: 6bb04717c993b99298dcdf1ee9dfce2e6e16165c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
[Unit]
Description=Monitor home
[Service]
Type=simple
ExecStart=/usr/bin/sh -c '/usr/bin/inotifywait -m $HOME $XDG_DATA_HOME $XDG_CONFIG_HOME -e create -e moved_to | while read i j k; do /usr/bin/dunstify -u CRITICAL -t 0 -a "File created in home" "$i$k"; done'
[Install]
WantedBy=default.target
|