summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShipwreckt <me@shipwreckt.co.uk>2025-03-02 15:46:51 +0000
committerShipwreckt <me@shipwreckt.co.uk>2025-03-02 15:46:51 +0000
commit5e14bac7b5d5e6a6af942711d885e7c8779ecd22 (patch)
tree5650c7f536ee9dcd3541f776a81b504c5f12e002
parent0a7b55d22d1767bc73c3df6a1836b2f61301ac10 (diff)
Fixes with mpd and database issues. Also removed nuclear from yay.sh because it no longer works.
-rwxr-xr-xautoinstall.sh11
-rwxr-xr-xyay.sh2
2 files changed, 9 insertions, 4 deletions
diff --git a/autoinstall.sh b/autoinstall.sh
index ec74962..9511ba9 100755
--- 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
index 4554c0b..6fd2be3 100755
--- 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 "===================="