# Use hardware decoding if possible
hwdec=auto
-# Use ALSA as audio driver.
-ao=alsa
# Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access
# to hardware mixer.
volume=50
--- /dev/null
+# Extra configuration file for pipewire-pulse
+
+# SPDX-License-Identifier: GPL-3.0-or-later
+# Copyright (C) 2023 Simon Ruderich
+
+
+pulse.properties = {
+ server.address = [
+ "unix:native",
+
+ # Extra pulse listen socket for other local users (VTYs)
+ "unix:/dev/shm/pulse",
+ ]
+}
+
+context.exec = [
+ # Racy but good enough ...
+ { path = "/usr/bin/chmod", args = "0600 /dev/shm/pulse" }
+]
if installed handbrake; then
link handbrake ~/.config/ghb
fi
+
+if installed pipewire; then
+ link pipewire ~/.config/pipewire
+fi
+if installed wireplumber; then
+ link wireplumber ~/.config/wireplumber
+fi
--- /dev/null
+-- Extra configuration file for wireplumber
+
+-- SPDX-License-Identifier: GPL-3.0-or-later
+-- Copyright (C) 2023 Simon Ruderich
+
+
+-- Remove the need for DBus
+alsa_monitor.properties["alsa.reserve"] = false
+default_access.properties["enable-flatpak-portal"] = false
+default_access.properties["enable-flatpak-portal"] = false