Browse Source

sudo -S

master
junikimm717 3 years ago
parent
commit
8c86a0934e
  1. 24
      user_arch.sh

24
user_arch.sh

@ -32,13 +32,13 @@ usertest() {
exit 1 exit 1
fi fi
sudo pacman -Syu
sudo pacman --noconfirm -S base-devel
sudo -S pacman -Syu
sudo -S pacman --noconfirm -S base-devel
} }
dev() { dev() {
echo "Developer tools..." echo "Developer tools..."
sudo pacman --noconfirm -S neovim nodejs
sudo -S pacman --noconfirm -S neovim nodejs
} }
@ -51,20 +51,20 @@ sysinfo() {
git clone https://github.com/dylanaraps/fff "$HOME/repos/fff" git clone https://github.com/dylanaraps/fff "$HOME/repos/fff"
cd "$HOME/repos/pfetch" || exit 1; cd "$HOME/repos/pfetch" || exit 1;
sudo make install || exit 2;
sudo -S make install || exit 2;
cd "$HOME" || exit 1; cd "$HOME" || exit 1;
cd "$HOME/repos/neofetch" || exit 1; cd "$HOME/repos/neofetch" || exit 1;
sudo make install || exit 2;
sudo -S make install || exit 2;
cd "$HOME" || exit 1; cd "$HOME" || exit 1;
cd "$HOME/repos/fff" || exit 1; cd "$HOME/repos/fff" || exit 1;
sudo make install || exit 2;
sudo -S make install || exit 2;
cd "$HOME" || exit 1; cd "$HOME" || exit 1;
} }
shell() { shell() {
sudo pacman --noconfirm -S zsh tmux starship
sudo -S pacman --noconfirm -S zsh tmux starship
} }
browsers() { browsers() {
@ -72,15 +72,15 @@ browsers() {
} }
torbrowser() { torbrowser() {
sudo pacman --noconfirm -S torbrowser-launcher
sudo -S pacman --noconfirm -S torbrowser-launcher
} }
meetings() { meetings() {
paru_exists paru_exists
paru --noconfirm -S skypeforlinux-stable-bin zoom paru --noconfirm -S skypeforlinux-stable-bin zoom
# install mt # install mt
sudo curl -LJ https://github.com/junikimm717/mt/releases/download/33627ab/mt -o /usr/local/bin/mt
sudo chmod +x /usr/local/bin/mt
sudo -S curl -LJ https://github.com/junikimm717/mt/releases/download/33627ab/mt -o /usr/local/bin/mt
sudo -S chmod +x /usr/local/bin/mt
} }
# neovim must be installed. # neovim must be installed.
@ -112,7 +112,7 @@ dotfiles() {
} }
graphical() { graphical() {
sudo pacman --noconfirm -S xorg xorg xorg-server xorg-xinit xorg-fonts-misc \
sudo -S pacman --noconfirm -S xorg xorg xorg-server xorg-xinit xorg-fonts-misc \
xclip nitrogen dmenu ttf-jetbrains-mono noto-fonts-emoji ttf-dejavu \ xclip nitrogen dmenu ttf-jetbrains-mono noto-fonts-emoji ttf-dejavu \
picom xclip kitty picom xclip kitty
paru -S --noconfirm polybar cwm paru -S --noconfirm polybar cwm
@ -120,7 +120,7 @@ graphical() {
} }
sound() { sound() {
sudo pacman --noconfirm -S pipewire-pulse
sudo -S pacman --noconfirm -S pipewire-pulse
systemctl --user --now enable pipewire-pulse systemctl --user --now enable pipewire-pulse
} }

Loading…
Cancel
Save