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