14
homedir/.config/ssm/services/ufwd-scn
Executable file
14
homedir/.config/ssm/services/ufwd-scn
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
Reference in New Issue
Block a user