diff options
-rwxr-xr-x | autoinstall.sh | 11 | ||||
-rwxr-xr-x | yay.sh | 2 |
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." @@ -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 "====================" |