vinstaller/etc/soundsystem/pipewire
2022-02-07 22:50:49 +01:00

38 lines
2.2 KiB
Plaintext

packages() {
addpkg pipewire alsa-utils
}
config() {
enable_service alsa
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-session.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Name=PipeWire Pulse" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Comment=Start the PipeWire Pulse" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-pulse" >> /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-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
}