vinstaller/etc/soundsystem/pipewire
2022-02-08 22:15:52 +01:00

39 lines
2.3 KiB
Plaintext

packages() {
addpkg pipewire alsa-pipewire libjack-pipewire
}
config() {
enable_service
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-pulse.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Name=PipeWire Pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Comment=Start the PipeWire Pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-session.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Name=PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Comment=Start the PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-media-session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-session.desktop
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire.desktop
echo "Name=PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Comment=Start the PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire" >> /etc/xdg/autostart/pipewire.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire.desktop
echo "/usr/lib/pipewire-0.3/jack" > /etc/ld.so.conf.d/zpipewire-jack.conf
}