commit 5e14bac7b5d5e6a6af942711d885e7c8779ecd22
parent 0a7b55d22d1767bc73c3df6a1836b2f61301ac10
Author: Shipwreckt <me@shipwreckt.co.uk>
Date: Sun, 2 Mar 2025 15:46:51 +0000
Fixes with mpd and database issues. Also removed nuclear from yay.sh because it no longer works.
Diffstat:
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/autoinstall.sh b/autoinstall.sh
@@ -32,6 +32,7 @@ setup_ly() {
echo "=================="
}
+
setup_home_directory() {
mkdir -p ~/Documents/passwords
mkdir -p ~/Documents/projects
@@ -75,9 +76,6 @@ copy_config_files() {
rm -rf ~/.config/ranger/*
sudo cp -r ~/dotfiles/files/ranger/* ~/.config/ranger/
- # Enable mpd for music junk
- sudo systemctl start mpd
-
echo "=================="
echo "Configs loaded"
echo "=================="
@@ -100,6 +98,12 @@ fish(){
echo -e '\n# Start fish shell \nif [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]; then\n shopt -q login_shell && LOGIN_OPTION="--login" || LOGIN_OPTION=""\n exec fish $LOGIN_OPTION\nfi' >> ~/.bashrc
}
+setup_music() {
+ echo -e "\n# MPD daemon start (if no other user instance exists)\n[ ! -s ~/.config/mpd/pid ] && mpd" >> .bash_profile
+ systemctl --user start mpd.service
+
+}
+
Blocked_Websites() {
sudo chmod 666 /etc/hosts
@@ -122,6 +126,7 @@ main() {
fonts
bashrc_additions
fish
+ setup_music
Security
echo "=================================="
echo "Done installing, you may reboot."
diff --git a/yay.sh b/yay.sh
@@ -13,7 +13,7 @@ install_yay() {
}
install_aur_packages() {
- $AUR wd719x-firmware upd72020x-fw yt-dlp-drop-in librewolf-bin nuclear-player-bin
+ $AUR wd719x-firmware upd72020x-fw yt-dlp-drop-in librewolf-bin
echo "===================="
echo "AUR packages setup"
echo "===================="