Update scripts

This commit adds sudo where needed for the majority of pacman commands.
It also removes zsh, urxvt, and renpy since we don't use those anymore.
This commit is contained in:
Donovan Glover 2018-09-08 01:55:24 -04:00
parent 69d75cde7d
commit 0f7f51e81c
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D
16 changed files with 91 additions and 73 deletions

View File

@ -4,6 +4,8 @@
# By enabling it as a service, we don't have to manually execute it # By enabling it as a service, we don't have to manually execute it
# every time at logon. # every time at logon.
# #
# Note that you should probably start it as well.
#
# https://wiki.archlinux.org/index.php/Dhcpcd # https://wiki.archlinux.org/index.php/Dhcpcd
set -xe set -xe

View File

@ -6,9 +6,20 @@
set -xe set -xe
pacman -S vim sudo pacman -S vim
pacman -S neovim sudo pacman -S neovim
# Add the `undo` directory for regular vim # Add the `undo` directory for regular vim
mkdir -p ~/.vim/undo mkdir -p ~/.vim/undo
# Install all vim plugins with `vim-plug`. Note that your
# .vimrc should already have a section with the plugins that
# you want to install.
#
# https://github.com/junegunn/vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim +PlugInstall +qall

View File

@ -8,4 +8,4 @@
set -xe set -xe
pacman -S virtualbox-guest-utils virtualbox-guest-modules-arch sudo pacman -S virtualbox-guest-utils virtualbox-guest-modules-arch

View File

@ -10,4 +10,4 @@ set -xe
sudo pacman -S rng-tools sudo pacman -S rng-tools
systemctl enable rngd.service sudo systemctl enable rngd.service

View File

@ -6,4 +6,4 @@
set -xe set -xe
pacman -S tmux sudo pacman -S tmux

View File

@ -1,17 +0,0 @@
#!/bin/sh
#
# If for some reason you want to install zsh, you can do that
# here. However, keep in mind that zsh requires a lot of
# configuration to behave similarly to fish.
#
# In other words, use fish.
#
# https://wiki.archlinux.org/index.php/Zsh
set -xe
pacman -S zsh
pacman -S grml-zsh-config
pacman -S zsh-syntax-highlighting

View File

@ -16,19 +16,19 @@
set -xe set -xe
pacman -S jq # JSON manipulation sudo pacman -S jq # JSON manipulation
pacman -S ripgrep # Faster than ag / ack / grep sudo pacman -S ripgrep # Faster than ag / ack / grep
pacman -S fzf # Fuzzy find anything sudo pacman -S fzf # Fuzzy find anything
pacman -S httpie # Make HTTP requests sudo pacman -S httpie # Make HTTP requests
pacman -S fd # Faster alternative to find sudo pacman -S fd # Faster alternative to find
pacman -S exa # Drop-in replacement for ls and tree sudo pacman -S exa # Drop-in replacement for ls and tree
pacman -S fdupes # Find duplicate files sudo pacman -S fdupes # Find duplicate files
pacman -S bind-tools # DNS tools like dig sudo pacman -S bind-tools # DNS tools like dig
pacman -S ncdu # Ncurses du (disk usage) sudo pacman -S ncdu # Ncurses du (disk usage)
pacman -S borg # Backup directories sudo pacman -S borg # Backup directories
pacman -S youtube-dl # View online videos in mpv sudo pacman -S youtube-dl # View online videos in mpv
pacman -S neofetch # Bragging rights sudo pacman -S neofetch # Bragging rights
pacman -S pygmentize # Command line syntax highlighting (used for 'dog') sudo pacman -S pygmentize # Command line syntax highlighting (used for 'dog')

View File

@ -8,4 +8,4 @@
set -xe set -xe
pacman -S openvpn sudo pacman -S openvpn

View File

@ -36,4 +36,4 @@
set -xe set -xe
pacman -S openssh sudo pacman -S openssh

View File

@ -18,20 +18,20 @@
set -xe set -xe
pacman -S xfce4 sudo pacman -S xfce4
pacman -S mousepad sudo pacman -S mousepad
pacman -S parole sudo pacman -S parole
pacman -S ristretto sudo pacman -S ristretto
pacman -S xfce4-mpc-plugin sudo pacman -S xfce4-mpc-plugin
pacman -S xfce4-notifyd sudo pacman -S xfce4-notifyd
pacman -S xfce4-pulseaudio-plugin sudo pacman -S xfce4-pulseaudio-plugin
pacman -S xfce4-screenshooter sudo pacman -S xfce4-screenshooter
pacman -S xfce4-taskmanager sudo pacman -S xfce4-taskmanager

View File

@ -22,29 +22,24 @@
set -xe set -xe
# Install xorg as the display server (required) # Install xorg as the display server (required)
pacman -S xorg-server sudo pacman -S xorg-server
# Prerequisite for running bspwm without a display manager # Prerequisite for running bspwm without a display manager
# Remove this line if you're using one # Remove this line if you're using one
pacman -S xorg-xinit sudo pacman -S xorg-xinit
pacman -S xdo # Show / hide windows (for polybar) sudo pacman -S xdo # Show / hide windows (for polybar)
pacman -S xorg-xprop # Get window status (for polybar) sudo pacman -S xorg-xprop # Get window status (for polybar)
pacman -S xclip # Clipboard manager (to copy with a command) sudo pacman -S xclip # Clipboard manager (to copy with a command)
pacman -S xcape # Make Caps Lock = Ctrl/ESC sudo pacman -S xcape # Make Caps Lock = Ctrl/ESC
# The actual window manager and hotkey daemon # The actual window manager and hotkey daemon
pacman -S bspwm sudo pacman -S bspwm
pacman -S sxhkd sudo pacman -S sxhkd
# compton is the standard compositor. # compton is the standard compositor.
pacman -S compton sudo pacman -S compton
# Terminal emulator
pacman -S rxvt-unicode
yay -S urxvtcd
# polybar is the standard panel. # polybar is the standard panel.
yay -S polybar yay -S polybar

View File

@ -22,4 +22,4 @@
set -xe set -xe
pacman -S plasma sudo pacman -S plasma

View File

@ -1,9 +0,0 @@
#!/bin/sh
#
# Ren'Py is the standard visual novel engine.
#
# https://renpy.org/
set -xe
pacman -S renpy

View File

@ -7,8 +7,34 @@
# LibreOffice has improved a lot over the years. It also works # LibreOffice has improved a lot over the years. It also works
# great with KDE. Give it a try. # great with KDE. Give it a try.
# #
# Note that we use `libreoffice-still` instead of
# `libreoffice-fresh` due to the save window bug with KDE and GTK.
#
# Edit: Actually, maybe writing things with Vim is still the better
# option. This makes whatever you write a lot more portable since
# you use a human readable file format that someone has probably
# written a library for in other languages. You also end up with
# a whole lot better git support.
#
# LibreOffice Math is very difficult to use compared to simply
# using LaTeX. The amount of clicking required for a basic
# formula takes a lot of effort and the cryptic commands used
# in its shell don't follow LaTeX at all.
#
# LibreOffice Base seems like an attempt to bring database
# management to less-savvy users, but traditional command line
# interaction with the database seems like the better option here.
#
# Draw and Impress seem like both are easier to future-proof and
# accomplish with web technologies.
#
# For me, it seems like I'll only use LibreOffice Writer and
# LibreOffice Calc (although even then I'm not so sure since
# there are other data formats out there that I'm familiar
# with and able to work with.
#
# https://wiki.archlinux.org/index.php/Libreoffice # https://wiki.archlinux.org/index.php/Libreoffice
set -xe set -xe
pacman -S libreoffice-fresh sudo pacman -S libreoffice-still

View File

@ -9,4 +9,4 @@
set -xe set -xe
pacman -S virtualbox virtualbox-host-modules-arch sudo pacman -S virtualbox virtualbox-host-modules-arch

View File

@ -3,8 +3,18 @@
# Krita is the standard painting program. It has excellent # Krita is the standard painting program. It has excellent
# support for KDE and supports HiDPI out of the box. # support for KDE and supports HiDPI out of the box.
# #
# Krita also works quite well as an image editor.
#
# You *could* use GIMP if you wanted to, but even with the HiDPI
# patch in 2.10, you still have to change a lot of settings in
# order for it to look semi-decent. Additionally, it requires GTK2
# as a dependency and you get none of the KDE features with it.
#
# In other words, it's much better to learn Krita than try to
# install GIMP in its current state.
#
# https://krita.org # https://krita.org
set -xe set -xe
pacman -S krita sudo pacman -S krita