Add 50x scripts

This commit is contained in:
Donovan Glover 2018-09-01 00:18:59 -04:00
parent b09fe02173
commit 830b7bcb0c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 63 additions and 0 deletions

21
sh/501-yay Normal file
View File

@ -0,0 +1,21 @@
#!/bin/sh
#
# An AUR helper is a way to automate the process below.
#
# `yay` is an AUR helper.
#
# https://wiki.archlinux.org/index.php/AUR_Helpers
set -xe
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
vim PKGBUILD
makepkg -si
cd ..
rm -rf yay-bin

20
sh/502-fontconfig Normal file
View File

@ -0,0 +1,20 @@
#!/bin/sh
#
# Font settings are very important! These make your Arch Linux
# installation look a lot better than the defaults.
#
# https://wiki.archlinux.org/index.php/Font_Configuration
# https://old.reddit.com/r/archlinux/comments/5r5ep8
set -xe
FONTS="/etc/fonts"
# Disable embedded bitmaps for all fonts
ln -s $FONTS/conf.avail/70-no-bitmaps.conf $FONTS/conf.d
# Enable sub-pixel RGB rendering
ln -s $FONTS/conf.avail/10-sub-pixel-rgb.conf $FONTS/conf.d
# Enable the LCD filter (reduces color fringing)
ln -s $FONTS/conf.avail/11-lcdfilter-default.conf $FONTS/conf.d

11
sh/503-pacman-contrib Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# `pacman-contrib` is used for tools like `paccache`, which
# allows us to get rid of older cached packages to save
# disk space.
#
# https://wiki.archlinux.org/index.php/Pacman
set -xe
pacman -S pacman-contrib

11
sh/504-launch Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# `launch-cmd` is used to "launch" programs from the shell.
# This method of starting programs prevents it from logging to
# the shell and blocking the next command.
#
# https://github.com/silverhammermba/launch
set -xe
yay -S launch-cmd