dotfiles/homedir/.config/ssm/services/ufwd-scn

15 lines
385 B
Plaintext
Raw Normal View History

#!/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