forked from extern/nix-config
Add 50x scripts
This commit is contained in:
parent
b09fe02173
commit
830b7bcb0c
21
sh/501-yay
Normal file
21
sh/501-yay
Normal 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
20
sh/502-fontconfig
Normal 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
11
sh/503-pacman-contrib
Normal 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
11
sh/504-launch
Normal 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
|
Loading…
Reference in New Issue
Block a user