dotfiles/homedir/.config/ssm/services/ufwd-scn
fbt 9463b292c8 all the changes
Signed-off-by: fbt <fbt@fleshless.org>
2022-01-12 11:43:46 +03:00

14 lines
393 B
Plaintext
Executable File

#!/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" )
service_command = /usr/bin/ufwd -c \
$(printf -- '-d %s ' "${dirs[@]}") \
-- -R -t 'screenshot' -A "Screenshots%3B%20$(date +%Y.%m.%d)"
service_cgroup_cleanup = 1