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 @@
11 #!/usr/bin/env bash
22
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+
39 PICPATH="/home/kat/Pictures/Camera/webcam"
410
511 # turn on webcam for a bit so the brightness isn't fucked
+5, -0
......@@ -4,6 +4,11 @@ dots_home="/home/kat/dotfiles"
44 orange_var="ef9f76"
55 pink_var="f08eca"
66
7+if [[ ! "$(command -v pgit)" ]]; then
8+ echo "missing required dependency: pgit"
9+ exit 1
10+fi
11+
712 build_site() {
813 # build
914 pgit --revs main --repo "/home/kat/dotfiles" --label dots --out ./public --theme catppuccin-frappe