brightness control, inhibit sleep, install fonts

This commit is contained in:
Rune Juhl (Atea) 2024-09-14 04:16:51 +02:00
parent 1ba93e4cad
commit 547d40ff46
3 changed files with 87 additions and 0 deletions

18
install-atea-fonts.sh Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
command -v woff2_decompress
tmp="$(mktemp -d)"
pushd "${tmp}"
for style in Light Regular Medium Bold; do
f="Inter-${style}.woff2"
wget "https://www.atea.dk/fonts/${f}"
woff2_decompress "${f}"
done
mv ./*.ttf ~/.local/share/fonts
fc-cache -f -v
popd
rm "${tmp}"