2019-10-03 09:03:43 +00:00
|
|
|
#!/usr/bin/env watchman
|
|
|
|
|
|
|
|
service_tmpfiles=( "$XDG_RUNTIME_DIR/scn:dir" )
|
|
|
|
|
|
|
|
#service_respawn='true'
|
|
|
|
dirs=( $(find /home/fbt/.local/share/Steam/userdata/22500463/760/remote -name 'screenshots') )
|
|
|
|
dirs+=( "$XDG_RUNTIME_DIR/scn" )
|
|
|
|
|
2020-12-08 21:34:57 +00:00
|
|
|
service_command = /usr/bin/ufwd -c \
|
2019-10-03 09:03:43 +00:00
|
|
|
$(printf -- '-d %s ' "${dirs[@]}") \
|
2022-01-12 08:43:46 +00:00
|
|
|
-- -R -t 'screenshot' -A "Screenshots%3B%20$(date +%Y.%m.%d)"
|
2019-10-03 09:03:43 +00:00
|
|
|
|
|
|
|
service_cgroup_cleanup = 1
|