monobiome/scripts/screens.sh

34 lines
955 B
Bash
Executable File

#!/usr/bin/env bash
# usage: screens.sh prefix
set -euo pipefail
prefix=${1:-}
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
render_script="$script_dir/render.sh"
#biomes=(alpine)
#modes=(light dark)
biomes=(alpine)
modes=(dark)
for biome in "${biomes[@]}"; do
for mode in "${modes[@]}"; do
echo "Applying $biome-$mode theme"
symconf config \
-a kitty,nvim \
-m "$mode" \
-s "default-$biome-monobiome" \
-T font=Berkeley
sleep 2
echo "Taking screenshot..."
"$render_script" 800 600 "images/render/$prefix-$biome-$mode.png" nvim \
+':highlight Cursor blend=100' \
+':set guicursor=n:block-Cursor' \
+':silent! setlocal nonumber nocursorline signcolumn=no foldcolumn=no' \
+':lua vim.diagnostic.config({virtual_text=false,signs=false,underline=false})' \
examples/class.py
done
done