summaryrefslogtreecommitdiff
path: root/autoinstall.sh
diff options
context:
space:
mode:
authorshipwreckt <me@shipwreckt.co.uk>2025-08-18 12:01:10 +0100
committershipwreckt <me@shipwreckt.co.uk>2025-08-18 12:01:10 +0100
commite8b5675eb77aa20027f369ca278457b6a7c2e142 (patch)
tree9b96e37beb5d27a6bf70b6b2f69c61e6012be914 /autoinstall.sh
parentc9e7170faff3e352eef5619dedf7a12e68ca610d (diff)
Some changes to my Nvim setup!
Diffstat (limited to 'autoinstall.sh')
-rwxr-xr-xautoinstall.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/autoinstall.sh b/autoinstall.sh
index 4731918..21af092 100755
--- a/autoinstall.sh
+++ b/autoinstall.sh
@@ -7,7 +7,7 @@ UPDATE='sudo pacman -Syu --noconfirm'
install_packages() {
$UPDATE
- $INSTALL mpv feh redshift linux-firmware-qlogic pavucontrol picom nitrogen thunar gvfs lxappearance alsa-utils neovim yubico-pam starship fish man-db qt5ct breeze breeze-gtk redshift htop lsb-release libreoffice-fresh ly ufw scrot keepassxc ranger unzip gcr webkit2gtk gd dosfstools xorg-xkill openresolv wireguard-tools libdvdcss libdvdread dunst cryptsetup wget mpc mpd ncmpcpp xclip xdotool
+ $INSTALL mpv feh redshift linux-firmware-qlogic pavucontrol picom nitrogen thunar gvfs lxappearance alsa-utils neovim yubico-pam starship fish man-db qt5ct breeze breeze-gtk redshift htop lsb-release libreoffice-fresh ly ufw scrot keepassxc ranger unzip gcr webkit2gtk gd dosfstools xorg-xkill openresolv wireguard-tools libdvdcss libdvdread dunst cryptsetup wget ncmpcpp xclip xdotool
echo "=============================="
echo "Programs are done installing"
echo "============================="
@@ -78,6 +78,10 @@ copy_config_files() {
rm -rf ~/.config/ranger/*
sudo cp -r ~/dotfiles/files/ranger/* ~/.config/ranger/
+ # Install files for plug manager for NVIM
+ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
+ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
+
echo "=================="
echo "Configs loaded"
echo "=================="
@@ -100,12 +104,6 @@ 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