Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2017-05-03 16:10:13 +03:00
commit c78cb78ff0
72 changed files with 3570 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env watchman
service_command='/bin/compton'
service_args=( --vsync opengl -f -D 3 -e 1.0 )

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/dunst'

View File

@@ -0,0 +1,4 @@
#!/bin/env watchman
service_command='/usr/bin/jackd'
service_args=( -d alsa )

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env watchman
service_respawn='true'
service_command="$HOME/bin/lockd"
service_args=( -- i3lock-extra -s -o ~/pics/lock.png -g -p )

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/home/fbt/bin/moltenbar'
service_depends_ready=( compton )
post_start() {
# Die if the thing didn't start
timer 5 nullexec xdo id -a moltenbar || return 1
# Set the layer on which lemonbar resides
xdo above -t $( xdo id -n root ) $( xdo id -a moltenbar )
# Set the top badding for bspwm
bspc config top_padding $(( 14 + 9 )) &>/tmp/debug.log
}
pre_stop() {
bspc config top_padding 0
}

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command="$HOME/bin/mpc-notify"

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env ssm
service_tmpfiles=( "/run/user/$UID/mpd:dir" )
service_respawn=1
service_command='/usr/bin/mpd'
service_args=( --no-daemon -v )
post_start() { ready; }

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env watchman
privoxy_configfile="$HOME/.config/privoxy/config"
service_respawn='true'
service_command='/usr/bin/privoxy'
service_args=( --no-daemon "$privoxy_configfile" )
privoxy::configtest() {
"$service_command" --config-test "${service_args[@]}"
}
restart() {
privoxy::configtest || {
watchman.err "Config test failed, not restarting!"
return 1
}
stop
start
}

View File

@@ -0,0 +1,14 @@
#!/bin/env watchman
service_depends=( jackd )
service_command='/usr/bin/pulseaudio'
service_args=(
--realtime=false
--exit-idle-time=-1
-L module-jack-sink
-L module-jack-source
-L module-native-protocol-tcp
)
stop () { "$service_command" -k; }

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env watchman
service_respawn='true'
service_command='/usr/bin/crond'
service_args=( -n -f ~/.config/crontab )

View File

@@ -0,0 +1,5 @@
#!/usr/bin/watchman
service_respaen=true
service_command='/usr/bin/ssh'
service_args=( -i ~/.ssh/proxy/id_ecdsa -ND 8080 proxy@malganis.priv )

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env watchman
service_command='/usr/bin/ssh-agent'
service_args=( -d -a "/tmp/${USER}-ssh-auth.sock" )

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/sxhkd'
service_reload_signal='USR1'

View File

@@ -0,0 +1,4 @@
#!/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/syncthing'

View File

@@ -0,0 +1,4 @@
#!/bin/env watchman
service_command='/usr/bin/transmission-daemon'
service_args=( -f )

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/ufwd'
service_args=( -n -c -- -p )