From b65d3b2adfc9a4bf38d77163435eb76af358491e Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Thu, 2 Jun 2022 20:11:41 -0400 Subject: [PATCH] move arch_yay.sh to Makefile --- Makefile | 21 ++++++++++++++++++++- dotfiles/misc/arch_yay.sh | 13 ------------- dotfiles/misc/sic.sh | 6 ------ 3 files changed, 20 insertions(+), 20 deletions(-) delete mode 100755 dotfiles/misc/arch_yay.sh delete mode 100755 dotfiles/misc/sic.sh diff --git a/Makefile b/Makefile index aa04ae0..a757827 100644 --- a/Makefile +++ b/Makefile @@ -143,9 +143,16 @@ PROGRAMS= \ zathura zathura-cb zathura-djvu \ zathura-ps -alpine-setup: +alpine-programs: apk add $(PROGRAMS) +arch-yay: + git clone "https://aur.archlinux.org/yay.git" || true + cd yay + git pull + makepkg -si + yay -V + spacer: # creates an 8GB empty file in the root dir # that way when the alarm bells go off you can delete it to save a @@ -154,4 +161,16 @@ spacer: # 512 * 16777216 = 8GB dd bs=512 count=16777216 /spacer.bin +unscii-system: + mkdir -p ~/.fonts + curl "http://viznut.fi/unscii/unscii-16-full.otf" >"~/.fonts/unscii-16-full.otf" + curl "http://viznut.fi/unscii/unscii-16-full.pcf" >"~/.fonts/unscii-16-full.pcf" + curl "http://viznut.fi/unscii/unscii-16-full.ttf" >"~/.fonts/unscii-16-full.ttf" + +unscii-user: + mkdir -p /usr/share/fonts/unscii + curl "http://viznut.fi/unscii/unscii-16-full.otf" >"/usr/share/fonts/unscii/unscii-16-full.otf" + curl "http://viznut.fi/unscii/unscii-16-full.pcf" >"/usr/share/fonts/unscii/unscii-16-full.pcf" + curl "http://viznut.fi/unscii/unscii-16-full.ttf" >"/usr/share/fonts/unscii/unscii-16-full.ttf" + .PHONY: all clean cleanlibraries cleanprograms noargvzero stdbool sysexits diff --git a/dotfiles/misc/arch_yay.sh b/dotfiles/misc/arch_yay.sh deleted file mode 100755 index 1cb5269..0000000 --- a/dotfiles/misc/arch_yay.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e -source ./cdecho.sh - -YAYURL="https://aur.archlinux.org/yay.git" - -cde $HOME/src -git clone $YAYURL || printf "yay already downloaded\n" -cde yay -git pull -makepkg -si -yay -V diff --git a/dotfiles/misc/sic.sh b/dotfiles/misc/sic.sh deleted file mode 100755 index 43c5ee4..0000000 --- a/dotfiles/misc/sic.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -mkdir -p $HOME/src -cd $HOME/src -git clone https://git.suckless.org/sic -cd $HOME/src/dotfiles/scripts -./dsic.sh # apply patches