1
0
forked from extern/nix-config
donovanglover-nix-config/.archlinux/Makefile
Donovan Glover c09cada5e2
archlinux: Remove gnome config
This is no longer needed since I plan to focus fully on bspwm instead.
Note that I may still use GNOME on multi-monitor setups and other
devices where having the convenience of bspwm and sxhkd isn't necessary.
2022-07-29 04:54:20 -04:00

50 lines
1.3 KiB
Makefile

.PHONY: install
install:
@cd PKGBUILDs/${package} && makepkg -scif --noconfirm
.ONESHELL:
aur:
@mkdir -p .aur && cd .aur
@git clone "https://aur.archlinux.org/${package}.git"
@cd ${package}
@echo "==================================== Viewing ${package}"
@cat PKGBUILD
@echo "===================================="
@echo -n "Press enter to continue, or Ctrl+C to quit. " && read
@makepkg -sc
@sudo pacman -U *.pkg.tar.zst
.PHONY: refresh-keys
refresh-keys:
@sudo pacman-key --populate
@sudo pacman-key --refresh-keys
# https://old.reddit.com/r/archlinux/comments/5r5ep8
# 1. Disable bitmap fonts (not scalable for modern HiDPI displays)
# 2. Enable sub-pixel RGB rendering
# 3. Enable the LCD filter (reduces color fringing)
.PHONY: fontconfig
fontconfig:
@sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
@sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
@sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
# Always use emoji (best with the kitty terminal emulator)
.PHONY: yarnconfig
yarnconfig:
@yarn config set -- --emoji true
.PHONY: rust
rust:
@rustup install stable
@rustup default stable
.PHONY: clean
clean:
@rm -fv PKGBUILDs/**/*.pkg.tar.xz
@rm -fv PKGBUILDs/**/*.xpi
@rm -fv PKGBUILDs/**/*.tar.gz
@rm -fv PKGBUILDs/**/*.tar.bz2
@rm -fv PKGBUILDs/**/*.vim
@rm -rfv .aur