v3-revamp-fedora

This commit is contained in:
2026-07-14 22:16:02 +02:00
parent 79363564a6
commit 9b389346cb
4 changed files with 96 additions and 118 deletions
+62 -30
View File
@@ -22,11 +22,8 @@ is_package_installed() { rpm -q "$@" &>/dev/null; }
source "$SCRIPT_DIR/fedora-minimal.sh"
# Add extra packages
install_packages arandr catfish galculator NetworkManager network-manager-applet \
NetworkManager-openvpn numlockx pipewire pipewire-alsa pipewire-pulse \
wireplumber pavucontrol playerctl gparted xfce4-pulseaudio-plugin xfce4-clipman-plugin
# install_packages
# temp disabled packages
# xfce4-indicator-plugin
pause_if_debug
@@ -76,37 +73,72 @@ color_green "SDDM theme installer completed successfully!"
pause_if_debug
# Ensure NetworkManager manages all interfaces
color_yellow "Ensuring NetworkManager service is enabled and running..."
sudo systemctl enable --now NetworkManager
color_yellow "Setting NetworkManager to globally manage all devices..."
sudo tee /etc/NetworkManager/conf.d/10-globally-managed-devices.conf > /dev/null <<'EOF'
[ifupdown]
managed=true
[keyfile]
unmanaged-devices=
EOF
color_yellow "Restarting NetworkManager service..."
sudo systemctl restart NetworkManager
color_yellow "Waiting for NetworkManager to reconnect..."
sleep 15
pause_if_debug
# Enable pipewire
systemctl --user enable pipewire pipewire-pulse wireplumber
pause_if_debug
# replace bashrc
color_yellow "making backup of bashrc"
sudo cp -v /etc/skel/.bashrc /etc/skel/.bashrc.starburst
pause_if_debug
# Add workstation repo
sudo dnf install -y fedora-workstation-repositories
color_cyan "Install Office packages"
install_packages libreoffice
pause_if_debug
color_cyan "Install editors packages"
# temp removed packages:
# sublime-text-4
flatpak install -y flathub com.vscodium.codium
pause_if_debug
color_cyan "Install internet packages"
sudo dnf config-manager setopt google-chrome.enabled=1
install_packages google-chrome-stable
# temp removed packages
# discord firefox insync brave-bin
pause_if_debug
color_cyan "Install theming packages"
# variety
pause_if_debug
color_cyan "Install media packages"
install_packages mpv flameshot
# temp removed packages
# vlc gimp inkscape spotify lollypop
pause_if_debug
color_cyan "Install shell packages"
install_packages zsh zsh-syntax-highlighting
# temp removed packages
# fish oh-my-zsh-git zsh-completions
pause_if_debug
color_cyan "Install system-tools"
install_packages @development-tools wget cmake ninja-build pkgconf-pkg-config
pause_if_debug
color_cyan "Install tools"
install_packages system-config-printer system-config-printer-applet system-config-printer-libs ripgrep meld btop htop
# temp removed packages
# wttr
pause_if_debug
# End of script
color_green "Full setup completed."
###### TODO
### autostart flameshot tray icon
### autostart insync tray icon
### autostart volumeicon
### autostart clipboard manager
### set google chrome as default browser