cereus-global-presets: update to 2024.02.20
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.
This commit is contained in:
parent
4d10e56915
commit
3ec714e0c5
2 changed files with 30 additions and 14 deletions
|
@ -1,5 +1,30 @@
|
|||
# INSTALL
|
||||
case "$ACTION" in
|
||||
post)
|
||||
plymouth-set-default-theme -R cereus_simply ;;
|
||||
# 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
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
# Template file for 'cereus-global-presets'
|
||||
pkgname=cereus-global-presets
|
||||
version=2023.01.28
|
||||
version=2024.02.20
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/pipewire/pipewire.conf
|
||||
/etc/skel/.profile
|
||||
/etc/xdg/autostart/*.desktop
|
||||
/etc/bash/bashrc.d/*.sh"
|
||||
hostmakedepends="git"
|
||||
depends="cereus-themes-presets bluez gst-libav libva-utils gst-plugins-base1 gst-plugins-good1 libcups-filters python3-cups python3-cupshelpers system-config-printer system-config-printer-udev vpm vsv numlockx xdg-user-dirs octoxbps-git touchegg plymouth cereus-plymouth-theme sof-firmware libspa-bluetooth NetworkManager chrony elogind alsa-pipewire pipewire gstreamer1-pipewire wireplumber pulseaudio-utils"
|
||||
depends="cereus-themes-presets bluez gst-libav libva-utils gst-plugins-base1 gst-plugins-good1 libcups-filters python3-cups python3-cupshelpers system-config-printer system-config-printer-udev vpm vsv numlockx xdg-user-dirs octoxbps-git touchegg plymouth cereus-plymouth-theme sof-firmware libspa-bluetooth NetworkManager chrony elogind alsa-pipewire pipewire gstreamer1-pipewire wireplumber pulseaudio-utils polyglot-prompt"
|
||||
short_desc="Cereus Linux global default configurations"
|
||||
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -22,15 +20,8 @@ do_fetch() {
|
|||
|
||||
do_install() {
|
||||
cd global/etc
|
||||
vinstall pipewire/pipewire.conf 0644 /etc/pipewire/
|
||||
|
||||
vinstall skel/.profile 0644 /etc/skel/
|
||||
for f in octoxbps-notifier pipewire touchegg; do
|
||||
vinstall xdg/autostart/${f}.desktop 0644 /etc/xdg/autostart/
|
||||
done
|
||||
|
||||
|
||||
cd bash/bashrc.d
|
||||
for f in 99-ble 10-cereus-prompt; do
|
||||
vinstall ${f}.sh 0644 /etc/bash/bashrc.d/
|
||||
done
|
||||
vinstall 10-polyglot-prompt.sh 0644 /etc/bash/bashrc.d/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue