11 Commits

Author SHA1 Message Date
Siim 3588e4626c Merge pull request 'Added a wee -y to fwupdmgr update, so that it actually does stuff.' (#7) from Adding-upup-alias into main
Reviewed-on: #7
2026-07-17 14:09:06 +02:00
Siim 129eca256b Added a wee -y to fwupdmgr update, so that it actually does stuff. 2026-07-17 14:07:18 +02:00
Siim 72bc8d3321 Merge pull request 'Added the alias "upup" for running "sudo dnf update --refresh -y"' (#6) from Adding-upup-alias into main
Reviewed-on: #6
2026-07-05 12:43:29 +02:00
Siim 6ee6450a03 Added the alias "upup" for running "sudo dnf update --refresh -y" 2026-07-05 12:41:18 +02:00
Siim 777cd43fc1 Merge pull request 'Removed the nushell section and set the bitperfect part to just run.' (#5) from no-nushell-no-cry into main
Reviewed-on: #5
2026-07-04 08:13:50 +02:00
Siim 6c5a913ab7 Removed the nushell section and set the bitperfect part to just run. 2026-07-04 08:11:59 +02:00
Siim b9eeff19eb Merge pull request 'Added a few moe echos for better status updates' (#4) from Adding-echos into main
Reviewed-on: #4
2026-07-03 09:21:09 +02:00
Siim e005544608 Added a few moe echos for better status updates 2026-07-03 09:19:51 +02:00
Siim 32984a72e2 Fixed fluff removal
Added -y to actually remove the bloat, piped the output to null, changed the update everything a bit.
2026-05-31 20:23:02 +02:00
Siim 5a50282e0e Merge pull request 'Added resample quality setting' (#3) from pipewire-conf-update into main
Reviewed-on: #3
2026-05-19 08:11:04 +02:00
Siim ccf7e28e6e Added resample quality setting 2026-05-19 08:10:30 +02:00
2 changed files with 20 additions and 38 deletions
+3
View File
@@ -2,3 +2,6 @@ context.properties = {
#default.clock.rate = 48000 #default.clock.rate = 48000
default.clock.allowed-rates = [ 44100, 48000, 88200, 96000, 176400, 192000 ] default.clock.allowed-rates = [ 44100, 48000, 88200, 96000, 176400, 192000 ]
} }
stream.properties = {
resample.quality = 14
}
+10 -31
View File
@@ -7,21 +7,8 @@ if [[ $EUID > 0 ]]; then
sudo su - sudo su -
fi fi
# Source - https://stackoverflow.com/a/29436423
# Posted by Tiago Lopo, modified by community. See post 'Timeline' for change history
# Retrieved 2026-04-07, License - CC BY-SA 3.0
function yes_or_no {
while true; do
read -p "$* [y/n]: " yn
case $yn in
[Yy]*) return 0 ;;
[Nn]*) echo "Aborted" ; return 1 ;;
esac
done
}
echo "Removing fluff (maps, tour, etc)" echo "Removing fluff (maps, tour, etc)"
dnf remove gnome-maps gnome-weather gnome-tour gnome-calendar gnome-contacts simple-scan dnf remove -y gnome-maps gnome-weather gnome-tour gnome-calendar gnome-contacts simple-scan &> /dev/null
echo "adding RPM fusion repos & updating DNF" echo "adding RPM fusion repos & updating DNF"
@@ -31,21 +18,11 @@ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-
# Get the nonfree repository (NVIDIA drivers, some codecs) # Get the nonfree repository (NVIDIA drivers, some codecs)
dnf install -y https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &> /dev/null dnf install -y https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &> /dev/null
# Installing nushell
echo "[gemfury-nushell]
name=Gemfury Nushell Repo
baseurl=https://yum.fury.io/nushell/
enabled=1
gpgcheck=0
gpgkey=https://yum.fury.io/nushell/gpg.key" | tee /etc/yum.repos.d/fury-nushell.repo
dnf install -y nushell &> /dev/null
# Update everything so it all plays nice together # Update everything so it all plays nice together
echo "Updating everything..." echo "Updating everything..."
dnf group upgrade core -y &> /dev/null dnf update --refresh -y &> /dev/null
dnf check-update &> /dev/null #dnf check-update &> /dev/null
dnf update -y &> /dev/null #dnf update -y &> /dev/null
###Firmware updates ###Firmware updates
# See what can be updated # See what can be updated
@@ -58,7 +35,7 @@ fwupdmgr refresh --force &> /dev/null
fwupdmgr get-updates &> /dev/null fwupdmgr get-updates &> /dev/null
# Apply them # Apply them
fwupdmgr update &> /dev/null fwupdmgr update -y &> /dev/null
###Flathub ###Flathub
echo "Fixing flathub" echo "Fixing flathub"
@@ -110,6 +87,9 @@ dnf update -y &> /dev/null
sed -i "$ a AutoConnect=true" /etc/bluetooth/main.conf sed -i "$ a AutoConnect=true" /etc/bluetooth/main.conf
sed -i "$ a MultiProfile=multiple" /etc/bluetooth/main.conf sed -i "$ a MultiProfile=multiple" /etc/bluetooth/main.conf
###Adding the update alias
echo "Now you can just use the command 'upup' to update everything."
"alias upup='sudo dnf update --refresh -y'" >> $HOME/.bashrc
###Archive support ###Archive support
echo "Installing archive support" echo "Installing archive support"
@@ -122,6 +102,7 @@ flatpak install -y flathub it.mijorus.gearlever &> /dev/null
# AppImage autoupdate # AppImage autoupdate
# Create the service unit # Create the service unit
echo "Creating Flatpak update task"
tee /etc/systemd/system/flatpak-update.service > /dev/null <<'EOF' tee /etc/systemd/system/flatpak-update.service > /dev/null <<'EOF'
[Unit] [Unit]
Description=Update Flatpak apps automatically Description=Update Flatpak apps automatically
@@ -152,15 +133,13 @@ systemctl daemon-reload &> /dev/null
systemctl enable --now flatpak-update.timer &> /dev/null systemctl enable --now flatpak-update.timer &> /dev/null
###Bit-perfect audio support ###Bit-perfect audio support
function bitperfect_audio {
###This will enable support for the following audio sample rates: ###This will enable support for the following audio sample rates:
###44100, 48000, 88200, 96000, 176400, 192000 ###44100, 48000, 88200, 96000, 176400, 192000
###Please adjust according to the capabilities of your hardware ###Please adjust according to the capabilities of your hardware
###or simply delete the file created below if you don't care about resampling ###or simply delete the file created below if you don't care about resampling
echo "Adding bitperfect audio support"
mkdir -p $HOME/.config/pipewire/pipewire.conf.d mkdir -p $HOME/.config/pipewire/pipewire.conf.d
curl https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > $HOME/.config/pipewire/pipewire.conf.d/10-bitperfect.conf curl https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > $HOME/.config/pipewire/pipewire.conf.d/10-bitperfect.conf
}
yes_or_no "Would you like to add support for high-res audio?" && bitperfect_audio ||
###All done ###All done
echo "Script completed, please reboot." echo "Script completed, please reboot."