blesh was dropped as it reduces performance under certain conditions Polyglot is now the the default bash prompt. Desktop launchers and PipeWire configs are now symlinks to system defaults.
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
# INSTALL
|
|
case "$ACTION" in
|
|
post)
|
|
# Setup PipeWire
|
|
if [ ! -e etc/xdg/autostart/pipewire.desktop ] && [ -e usr/share/applications/pipewire.desktop ]; then
|
|
mkdir -p etc/xdg/autostart
|
|
ln -sf usr/share/applications/pipewire.desktop etc/xdg/autostart
|
|
fi
|
|
|
|
for pipewire_conf in 10-wireplumber 20-pipewire-pulse; do
|
|
if [ ! -e etc/pipewire/pipewire.conf.d/${pipewire_conf}.conf ] && [ -e usr/share/examples/wireplumber/${pipewire_conf}.conf ]; then
|
|
ln -sf usr/share/examples/wireplumber/${pipewire_conf}.conf etc/pipewire/pipewire.conf.d/
|
|
fi
|
|
done
|
|
|
|
for alsa_conf in 50-pipewire 99-pipewire-default; do
|
|
if [ ! -e etc/alsa/conf.d/${alsa_conf}.conf ] && [ -e usr/share/alsa/alsa.conf.d/${alsa_conf}.conf ]; then
|
|
ln -sf usr/share/alsa/alsa.conf.d/${alsa_conf}.conf etc/alsa/conf.d/
|
|
fi
|
|
done
|
|
|
|
# Enable autostart entries
|
|
for desktop_launcher in octoxbps-notifier pipewire touchegg; do
|
|
if [ ! -e etc/xdg/autostart/${desktop_launcher}.desktop ] && [ -e usr/share/applications/${desktop_launcher}.desktop ]; then
|
|
mkdir -p etc/xdg/autostart
|
|
ln -sf usr/share/applications/${desktop_launcher}.desktop etc/xdg/autostart
|
|
fi
|
|
done
|
|
;;
|
|
esac
|