Commit 809dfef
xxwhirlpool
·
2026-05-14 10:16:42 -0400 EDT
parent 949dd37
misc
2 files changed,
+11,
-0
+6,
-0
| ... | ... | @@ -1,5 +1,11 @@ | |
| 1 | 1 | #!/usr/bin/env bash | |
| 2 | 2 | ||
| 3 | + | # check if it's running anywhere else but laptop | |
| 4 | + | if [[ "$(hostname)" != "mariposa" ]]; then | |
| 5 | + | echo "only works on your laptop, dumbass" | |
| 6 | + | exit 1 | |
| 7 | + | fi | |
| 8 | + | ||
| 3 | 9 | PICPATH="/home/kat/Pictures/Camera/webcam" | |
| 4 | 10 | ||
| 5 | 11 | # turn on webcam for a bit so the brightness isn't fucked |
+5,
-0
| ... | ... | @@ -4,6 +4,11 @@ dots_home="/home/kat/dotfiles" | |
| 4 | 4 | orange_var="ef9f76" | |
| 5 | 5 | pink_var="f08eca" | |
| 6 | 6 | ||
| 7 | + | if [[ ! "$(command -v pgit)" ]]; then | |
| 8 | + | echo "missing required dependency: pgit" | |
| 9 | + | exit 1 | |
| 10 | + | fi | |
| 11 | + | ||
| 7 | 12 | build_site() { | |
| 8 | 13 | # build | |
| 9 | 14 | pgit --revs main --repo "/home/kat/dotfiles" --label dots --out ./public --theme catppuccin-frappe |