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

14 lines
387 B
Plaintext
Raw Normal View History

2023-03-07 13:45:07 +00:00
#!/usr/bin/env ssm
2019-10-03 12:03:43 +03:00
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" )
2023-03-07 13:45:07 +00:00
service_command = /usr/bin/ufwd -n -c \
2019-10-03 12:03:43 +03:00
$(printf -- '-d %s ' "${dirs[@]}") \
2023-03-07 13:45:07 +00:00
-- -R -t 'screenshot' -A "Screenshots; $(date +%Y.%m.%d)"
2019-10-03 12:03:43 +03:00
service_cgroup_cleanup = 1