dots


commit
ed00b09
parent
663b83c
author
xxwhirlpool
date
2025-12-26 21:14:29 -0500 EST
stuff
5 files changed,  +32, -30
M .gitignore
+1, -0
1@@ -33,3 +33,4 @@ config/.config/micro/plug/
2 config/.local/bin/pylsp
3 config/.local/bin/kaomoji.sh
4 config/.local/bin/quote
5+config/.local/bin/quoterandom
D config/.local/bin/retroify
+0, -14
 1@@ -1,14 +0,0 @@
 2-#!/usr/bin/env bash
 3-
 4-set -euxo pipefail
 5-
 6-INPUT=${1}
 7-COLOURS=${2}
 8-OUTPUT_SMOL=${INPUT}.webp
 9-OUTPUT_BIG=${INPUT}-big.webp
10-
11-SMOL_SIZE=320
12-BIG_SIZE=2048
13-
14-magick "${INPUT}" -auto-orient -resize ${SMOL_SIZE}x${SMOL_SIZE} -colors "${COLOURS}" png:- | cwebp -q 100 -m 6 -lossless -progress -o "${OUTPUT_SMOL}" -- -
15-magick "${INPUT}" -auto-orient -resize ${SMOL_SIZE}x${SMOL_SIZE} -colors "${COLOURS}" -filter point -resize ${BIG_SIZE}x${BIG_SIZE} png:- | cwebp -q 100 -m 6 -lossless -progress -o "${OUTPUT_BIG}" -- -
M scripts/Scripts/pandoc/md2html.html
+1, -1
1@@ -42,7 +42,7 @@
2 <script>hljs.highlightAll();</script>
3 
4 <main class="h-entry">
5-	<article class="flow e-content">
6+	<article class="e-content">
7 		$for(include-before)$
8 			$include-before$
9 		$endfor$
D stow-local.sh
+0, -5
1@@ -1,5 +0,0 @@
2-#!/usr/bin/env bash
3-
4-stow -v -t ~ "config" --adopt
5-
6-stow -v -t ~ "scripts" --adopt
M stow.sh
+30, -10
 1@@ -1,15 +1,35 @@
 2 #!/usr/bin/env bash
 3 
 4-echo "pulling from git..." | gum style --foreground "#f4b8e4" --border none
 5+updategit() {
 6+	echo "pulling from git..." | gum style --foreground "#f4b8e4" --border none
 7+	git pull bytes main
 8+	echo "git pull complete!" | gum style --foreground "#f4b8e4" --border none
 9+	echo "stowing your shit..." | gum style --foreground "#f4b8e4" --border none
10+	stow -v -t ~ "config" --adopt
11+	stow -v -t ~ "scripts" --adopt
12+	echo "done ^_^" | gum style --foreground "#f4b8e4" --border none
13+}
14 
15-git pull bytes main
16+localstow() {
17+	stow -v -t ~ "config" --adopt
18+	stow -v -t ~ "scripts" --adopt
19+}
20 
21-echo "git pull complete!" | gum style --foreground "#f4b8e4" --border none
22+usage() {
23+	if [ $# -eq 0 ]; then
24+		echo -e "Usage: stow.sh [OPTIONS]\n"
25+		echo -e "pull from git ,[-L|--local]\nsymlink local files ,[-U|--update]" | column -t -s','
26+	fi
27+}
28 
29-echo "stowing your shit..." | gum style --foreground "#f4b8e4" --border none
30-
31-stow -v -t ~ "config" --adopt
32-
33-stow -v -t ~ "scripts" --adopt 
34-
35-echo "done ^_^" | gum style --foreground "#f4b8e4" --border none
36+case "$1" in
37+	"" | "-h" | "--help" | "help")
38+		usage
39+		;;
40+	"-L" | "--local")
41+		localstow
42+		;;
43+	"-U" | "--update")
44+		updategit
45+		;;
46+esac