Update some user-runsv services
This commit is contained in:
parent
c8a2a19a5b
commit
3c99819ce2
|
@ -12,8 +12,8 @@ pgrep -x sxhkd > /dev/null || sxhkd &
|
|||
pgrep -x picom > /dev/null || picom &
|
||||
~/.config/polybar/launch.sh &
|
||||
pgrep -x Discord > /dev/null || Discord &
|
||||
pgrep -x pipewire > /dev/null || pipewire &
|
||||
pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
|
||||
# pgrep -x pipewire > /dev/null || pipewire &
|
||||
# pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
|
||||
|
||||
|
||||
# $HOME/.config/polybar/launch.sh
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec >/dev/null 2>&1
|
||||
exec dbus-send --session / org.freedesktop.DBus.Peer.Ping
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/execlineb -P
|
||||
importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR
|
||||
dbus-daemon --session --nofork --nopidfile --address=unix:path=${XDG_RUNTIME_DIR}/bus
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec svlogd -tt .
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2>&1
|
||||
exec pipewire-pulse
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec svlogd -tt .
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2>&1
|
||||
exec pipewire
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2&>1
|
||||
exec svlogd -tt .
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2&>1
|
||||
exec /usr/bin/syncthing -no-browser -home="$HOME/.config/syncthing"
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
USER=@USER@
|
||||
HOME="home/$USER"
|
||||
GROUPS="$(id -Gn "$USER" | tr ' ' ':')"
|
||||
HOME="/home/$USER"
|
||||
GROUPS=$(id -Gn "$USER" | tr ' ' ':')
|
||||
SVDIR="$HOME/sv"
|
||||
ID=$(id -u $USER)
|
||||
|
||||
exec chpst -u "$USER:$GROUPS" sh -l -c "exec runsvdir $SVDIR $USER" $USER
|
||||
[ ! -d /run/user/$ID ] && \
|
||||
mkdir -p /run/user/$USER && \
|
||||
chown $USER:$USER /run/user/$USER
|
||||
|
||||
exec chpst -u "$USER:$GROUPS" sh -l -c "exec runsvdir $SVDIR $USER '...'" $USER
|
||||
|
|
Loading…
Reference in New Issue