diff --git a/sh/051-dhcpcd b/sh/051-dhcpcd index f6a73b9d..0df2384a 100644 --- a/sh/051-dhcpcd +++ b/sh/051-dhcpcd @@ -4,6 +4,8 @@ # By enabling it as a service, we don't have to manually execute it # every time at logon. # +# Note that you should probably start it as well. +# # https://wiki.archlinux.org/index.php/Dhcpcd set -xe diff --git a/sh/055-vim b/sh/055-vim index 16c8cb9f..7d3fa8d9 100644 --- a/sh/055-vim +++ b/sh/055-vim @@ -6,9 +6,20 @@ set -xe -pacman -S vim +sudo pacman -S vim -pacman -S neovim +sudo pacman -S neovim # Add the `undo` directory for regular vim 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 diff --git a/sh/093-virtualbox-guest b/sh/093-virtualbox-guest index af49dfb7..8cfd1816 100644 --- a/sh/093-virtualbox-guest +++ b/sh/093-virtualbox-guest @@ -8,4 +8,4 @@ set -xe -pacman -S virtualbox-guest-utils virtualbox-guest-modules-arch +sudo pacman -S virtualbox-guest-utils virtualbox-guest-modules-arch diff --git a/sh/101-rng-tools b/sh/101-rng-tools index 4871cf10..9608cc52 100644 --- a/sh/101-rng-tools +++ b/sh/101-rng-tools @@ -10,4 +10,4 @@ set -xe sudo pacman -S rng-tools -systemctl enable rngd.service +sudo systemctl enable rngd.service diff --git a/sh/104-tmux b/sh/104-tmux index 6436e43b..fa870fd4 100644 --- a/sh/104-tmux +++ b/sh/104-tmux @@ -6,4 +6,4 @@ set -xe -pacman -S tmux +sudo pacman -S tmux diff --git a/sh/105-zsh b/sh/105-zsh deleted file mode 100644 index 2ecb2f86..00000000 --- a/sh/105-zsh +++ /dev/null @@ -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 diff --git a/sh/106-cli b/sh/106-cli index 1f9f842f..2c1c086f 100644 --- a/sh/106-cli +++ b/sh/106-cli @@ -16,19 +16,19 @@ set -xe -pacman -S jq # JSON manipulation -pacman -S ripgrep # Faster than ag / ack / grep -pacman -S fzf # Fuzzy find anything -pacman -S httpie # Make HTTP requests -pacman -S fd # Faster alternative to find -pacman -S exa # Drop-in replacement for ls and tree +sudo pacman -S jq # JSON manipulation +sudo pacman -S ripgrep # Faster than ag / ack / grep +sudo pacman -S fzf # Fuzzy find anything +sudo pacman -S httpie # Make HTTP requests +sudo pacman -S fd # Faster alternative to find +sudo pacman -S exa # Drop-in replacement for ls and tree -pacman -S fdupes # Find duplicate files -pacman -S bind-tools # DNS tools like dig +sudo pacman -S fdupes # Find duplicate files +sudo pacman -S bind-tools # DNS tools like dig -pacman -S ncdu # Ncurses du (disk usage) -pacman -S borg # Backup directories -pacman -S youtube-dl # View online videos in mpv -pacman -S neofetch # Bragging rights +sudo pacman -S ncdu # Ncurses du (disk usage) +sudo pacman -S borg # Backup directories +sudo pacman -S youtube-dl # View online videos in mpv +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') diff --git a/sh/151-openvpn b/sh/151-openvpn index b097546b..b7780da2 100644 --- a/sh/151-openvpn +++ b/sh/151-openvpn @@ -8,4 +8,4 @@ set -xe -pacman -S openvpn +sudo pacman -S openvpn diff --git a/sh/152-openssh b/sh/152-openssh index 693a46cf..2b199e5a 100644 --- a/sh/152-openssh +++ b/sh/152-openssh @@ -36,4 +36,4 @@ set -xe -pacman -S openssh +sudo pacman -S openssh diff --git a/sh/202-xfce b/sh/202-xfce index 65523b38..81742838 100644 --- a/sh/202-xfce +++ b/sh/202-xfce @@ -18,20 +18,20 @@ 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 diff --git a/sh/203-bspwm b/sh/203-bspwm index 91cbf92c..f3d9e475 100644 --- a/sh/203-bspwm +++ b/sh/203-bspwm @@ -22,29 +22,24 @@ set -xe # Install xorg as the display server (required) -pacman -S xorg-server +sudo pacman -S xorg-server # Prerequisite for running bspwm without a display manager # 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) -pacman -S xorg-xprop # Get window status (for polybar) +sudo pacman -S xdo # Show / hide windows (for polybar) +sudo pacman -S xorg-xprop # Get window status (for polybar) -pacman -S xclip # Clipboard manager (to copy with a command) -pacman -S xcape # Make Caps Lock = Ctrl/ESC +sudo pacman -S xclip # Clipboard manager (to copy with a command) +sudo pacman -S xcape # Make Caps Lock = Ctrl/ESC # The actual window manager and hotkey daemon -pacman -S bspwm -pacman -S sxhkd +sudo pacman -S bspwm +sudo pacman -S sxhkd # compton is the standard compositor. -pacman -S compton - -# Terminal emulator -pacman -S rxvt-unicode - -yay -S urxvtcd +sudo pacman -S compton # polybar is the standard panel. yay -S polybar diff --git a/sh/204-plasma b/sh/204-plasma index e9bf5cd0..8700e11c 100644 --- a/sh/204-plasma +++ b/sh/204-plasma @@ -22,4 +22,4 @@ set -xe -pacman -S plasma +sudo pacman -S plasma diff --git a/sh/602-renpy b/sh/602-renpy deleted file mode 100644 index 02a4b83a..00000000 --- a/sh/602-renpy +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Ren'Py is the standard visual novel engine. -# -# https://renpy.org/ - -set -xe - -pacman -S renpy diff --git a/sh/604-libreoffice b/sh/604-libreoffice index 27601427..a8bc42b2 100644 --- a/sh/604-libreoffice +++ b/sh/604-libreoffice @@ -7,8 +7,34 @@ # LibreOffice has improved a lot over the years. It also works # 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 set -xe -pacman -S libreoffice-fresh +sudo pacman -S libreoffice-still diff --git a/sh/605-virtualbox b/sh/605-virtualbox index 360e2072..c32fbed1 100644 --- a/sh/605-virtualbox +++ b/sh/605-virtualbox @@ -9,4 +9,4 @@ set -xe -pacman -S virtualbox virtualbox-host-modules-arch +sudo pacman -S virtualbox virtualbox-host-modules-arch diff --git a/sh/606-krita b/sh/606-krita index aec33f54..b9e49c68 100644 --- a/sh/606-krita +++ b/sh/606-krita @@ -3,8 +3,18 @@ # Krita is the standard painting program. It has excellent # 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 set -xe -pacman -S krita +sudo pacman -S krita