update render script resolution and font size
This commit is contained in:
@@ -16,6 +16,7 @@ kitty -o allow_remote_control=yes --listen-on "unix:$sock" --title "$title" "$@"
|
||||
# create a targeted rule for the marked window and resize
|
||||
sleep 2
|
||||
swaymsg "for_window [title=\"$title\"] mark --add $title, floating enable, resize set width ${w} px height ${h} px, move position center" >/dev/null
|
||||
kitty @ --to "unix:$sock" set-font-size 24
|
||||
|
||||
# get the spawned window geometry
|
||||
sleep 2
|
||||
|
||||
@@ -7,7 +7,7 @@ prefix=${1:-}
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
render_script="$script_dir/render.sh"
|
||||
|
||||
biomes=(alpine) # badlands chaparral savanna grassland tundra reef heathland moorland)
|
||||
biomes=(alpine badlands chaparral savanna grassland tundra reef heathland moorland)
|
||||
modes=(light)
|
||||
|
||||
for biome in "${biomes[@]}"; do
|
||||
@@ -25,7 +25,7 @@ for biome in "${biomes[@]}"; do
|
||||
sleep 1
|
||||
|
||||
echo "Taking screenshot..."
|
||||
"$render_script" 800 600 "images/render/$prefix-$biome-$mode.png" nvim \
|
||||
"$render_script" 1920 1440 "images/render/$prefix-$biome-$mode.png" nvim \
|
||||
+':highlight Cursor blend=100' \
|
||||
+':set guicursor=n:block-Cursor' \
|
||||
+':silent! setlocal nonumber nocursorline signcolumn=no foldcolumn=no' \
|
||||
|
||||
Reference in New Issue
Block a user