all the changes!

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2020-12-09 00:34:57 +03:00
parent 73612a2fd9
commit 07b4a0a325
22 changed files with 119 additions and 50 deletions

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env ssm
service_command = /bin/compton --vsync -f -D 3 -e 1.0

View File

@@ -3,8 +3,6 @@
#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

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env ssm
service_command = /usr/bin/openrazer-daemon -F

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env ssm
service_command = /bin/picom --vsync -f -D 3 -e 1.0 -C -o 0.0

View File

@@ -4,7 +4,9 @@
service_command = '/usr/bin/pulseaudio' \
--exit-idle-time=-1 \
-L module-jack-sink \
-L module-jack-source \
-L module-native-protocol-tcp
-L "module-jack-sink sink_name=jack_sink_01 connect=false" \
-L "module-jack-sink sink_name=jack_sink_02 connect=false" \
-L "module-jack-source channels=2" \
-L "module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1"
stop() { "$service_command" -k; }

View File

@@ -0,0 +1,6 @@
#!/bin/env ssm
export DISPLAY="${service_name#stalonetray@}"
#service_respawn = 'true'
service_command = "/usr/bin/stalonetray"

View File

@@ -0,0 +1 @@
stalonetray

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env watchman
service_workdir = "$HOME"
service_respawn = always
service_command = /usr/bin/sxhkd

View File

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

View File

@@ -2,6 +2,8 @@
service_tmpfiles=( "/run/user/$UID/ufwd:dir" )
export PATH="$HOME/.local/bin:$PATH"
#service_respawn='true'
service_command='/usr/bin/ufwd'
service_args=( -n -c -- -p )

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env watchman
service_tmpfiles=( "$XDG_RUNTIME_DIR/ufwd-fikus:dir" )
export UFW_CFG_FILE=$HOME/.config/ufw.d/fikus
#service_respawn='true'
service_command='/usr/bin/ufwd'
service_args=( -n -c -d $XDG_RUNTIME_DIR/ufwd-fikus )

View File

@@ -6,9 +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 = $HOME/bin/ufwd -c \
service_command = /usr/bin/ufwd -c \
$(printf -- '-d %s ' "${dirs[@]}") \
-- -R -A "Screenshots; $(date +%Y.%m.%d) [$RANDOM]"
-- -R -t 'screenshot' -A "Screenshots; $(date +%Y.%m.%d)"
service_cgroup_cleanup = 1

View File

@@ -26,12 +26,14 @@
#service_stop_signal = 15
# Enable cgroup-related functions
cgroups = 1
#cgroups = 1
# Refuse to start the service if its cgroup is not empty
service_cgroup_exclusive = 1
#service_cgroup_exclusive = 1
# Wait on all the members of the cgroup to exit when stopping the service.
service_cgroup_wait = 1
service_cgroup_strict = 0
#logdir = ~/.log