dotfiles/homedir/.config/ssm/services/ufwd-scn
fbt 73612a2fd9 add some files
Signed-off-by: fbt <fbt@fleshless.org>
2019-10-03 12:03:43 +03:00

15 lines
385 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 = $HOME/bin/ufwd -c \
$(printf -- '-d %s ' "${dirs[@]}") \
-- -R -A "Screenshots; $(date +%Y.%m.%d) [$RANDOM]"
service_cgroup_cleanup = 1