services: Move pipewire into user service
Will be managed by runit service manager under voidlinux.
This commit is contained in:
parent
4f18b548f4
commit
e08f88db9c
4 changed files with 12 additions and 3 deletions
|
|
@ -348,9 +348,6 @@ should_start swayidle && riverctl spawn "swayidle \
|
||||||
before-sleep \"pidof waylock || lockscreen\" &"
|
before-sleep \"pidof waylock || lockscreen\" &"
|
||||||
|
|
||||||
should_start wl-paste && riverctl spawn "wl-paste -t text --watch clipman store"
|
should_start wl-paste && riverctl spawn "wl-paste -t text --watch clipman store"
|
||||||
|
|
||||||
should_start pipewire && riverctl spawn pipewire
|
|
||||||
|
|
||||||
# bash ~/.config/bin/gtktheme # setting our gtk variables
|
# bash ~/.config/bin/gtktheme # setting our gtk variables
|
||||||
# killall polkit-gnome-authentication-agent-1
|
# killall polkit-gnome-authentication-agent-1
|
||||||
# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
|
|
|
||||||
3
services/sv/pipewire/control/t
Executable file
3
services/sv/pipewire/control/t
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# https://github.com/classabbyamp/dotfiles/commit/98012e177f8df0731eb46dd236596400b9894a4d
|
||||||
|
[ -r supervise/pid ] && kill -TERM -$(cat supervise/pid)
|
||||||
3
services/sv/pipewire/log/run
Executable file
3
services/sv/pipewire/log/run
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
exec vlogger -t pipewire -p daemon
|
||||||
6
services/sv/pipewire/run
Executable file
6
services/sv/pipewire/run
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
exec chpst -e "$TURNSTILE_ENV_DIR" pipewire "$OPTS"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue