Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2023-03-07 13:45:07 +00:00
parent 9463b292c8
commit 1b70d70942
13 changed files with 622 additions and 88 deletions

View File

@@ -2,7 +2,7 @@
# vim: ft=sh
service_respawn = always
service_command = "$HOME/bin/lockd" i3lock-extra -s -o ~/pics/lock.png -p -g -- -e -f
service_command = "$HOME/bin/lockd" i3lock-extra -s -o ~/pics/lock.png -p -- -e -f
function pre_start {
notify-send 'ssm' "Starting $service_name; press again to lock."

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env watchman
#!/usr/bin/env ssm
service_command='/usr/bin/ssh-agent'
service_args=( -d -a "/run/user/$UID/ssh-auth.sock" )
service_command = /usr/bin/ssh-agent -d -a "/run/user/$UID/ssh-auth.sock"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env watchman
#!/usr/bin/env ssm
service_tmpfiles=( "$XDG_RUNTIME_DIR/ufwd-private:dir" )

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env watchman
#!/usr/bin/env ssm
service_tmpfiles=( "$XDG_RUNTIME_DIR/scn:dir" )
@@ -6,8 +6,8 @@ service_tmpfiles=( "$XDG_RUNTIME_DIR/scn:dir" )
dirs=( $(find /home/fbt/.local/share/Steam/userdata/22500463/760/remote -name 'screenshots') )
dirs+=( "$XDG_RUNTIME_DIR/scn" )
service_command = /usr/bin/ufwd -c \
service_command = /usr/bin/ufwd -n -c \
$(printf -- '-d %s ' "${dirs[@]}") \
-- -R -t 'screenshot' -A "Screenshots%3B%20$(date +%Y.%m.%d)"
-- -R -t 'screenshot' -A "Screenshots; $(date +%Y.%m.%d)"
service_cgroup_cleanup = 1