fix(demo): readable font and filled terminals
- commit
- 02223f00191fb502224d2ce15c99e790e21f1d36
- author
- brice · · 2026-10-21 04:51 UTC
- parent
- 2470c88
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
7 files · +28 -5
M docs/media/demo.gif +0 -0 binary file: no text diff
binary file: no text diff
M docs/media/demo.mp4 +0 -0 binary file: no text diff
binary file: no text diff
M docs/media/demo.png +0 -0 binary file: no text diff
binary file: no text diff
M tools/demo/config +1 -1
| @@ -1,5 +1,5 @@ | |||
| 1 | 1 | animations = on | |
| 2 | - | terminal = foot -c /dev/null -o font=monospace:size=13 -o colors-dark.background=1a1b26 -o colors-dark.foreground=c0caf5 -e bash --noprofile --norc | |
| 2 | + | terminal = foot -c /dev/null -o font=monospace:size=16 -o colors-dark.background=1a1b26 -o colors-dark.foreground=c0caf5 -e bash --noprofile --norc | |
| 3 | 3 | terminal.auto-open = first | |
| 4 | 4 | layout.gaps = 8 | |
| 5 | 5 | border.width = 2 | |
| @@ -1,5 +1,5 @@ | |||||
| 1 | animations = on | 1 | animations = on | ||
| 2 | - | terminal = foot -c /dev/null -o font=monospace:size=13 -o colors-dark.background=1a1b26 -o colors-dark.foreground=c0caf5 -e bash --noprofile --norc | 2 | + | terminal = foot -c /dev/null -o font=monospace:size=16 -o colors-dark.background=1a1b26 -o colors-dark.foreground=c0caf5 -e bash --noprofile --norc |
| 3 | terminal.auto-open = first | 3 | terminal.auto-open = first | ||
| 4 | layout.gaps = 8 | 4 | layout.gaps = 8 | ||
| 5 | border.width = 2 | 5 | border.width = 2 | ||
A tools/demo/content.sh +23 -0
| @@ -0,0 +1,23 @@ | |||
| 1 | + | #!/usr/bin/env bash | |
| 2 | + | # Static, colorful terminal content for the recording (no personal shell config). | |
| 3 | + | # These listings are displayed, not parsed; truncation is intentional. | |
| 4 | + | # shellcheck disable=SC2012 | |
| 5 | + | set -euo pipefail | |
| 6 | + | clear | |
| 7 | + | case ${1:-} in | |
| 8 | + | system) | |
| 9 | + | fastfetch --logo small --structure OS:Kernel:WM:Terminal:Memory:Colors | |
| 10 | + | ls -la --color=always /etc | head -24 || true | |
| 11 | + | ;; | |
| 12 | + | files) | |
| 13 | + | ls -l --color=always /usr/share | head -34 || true | |
| 14 | + | ;; | |
| 15 | + | stash) | |
| 16 | + | printf '\033[1;36m NEFERWL / YOUR STASH\033[0m\n\n' | |
| 17 | + | for ((i = 0; i < 6; i++)); do | |
| 18 | + | printf '\033[1;34m SET ASIDE\033[0m a window with Super+Shift+s\n' | |
| 19 | + | printf '\033[1;32m BRING BACK\033[0m a window with Super+s\n' | |
| 20 | + | printf '\033[1;35m STAY FOCUSED\033[0m keep your workspace clear\n\n' | |
| 21 | + | done | |
| 22 | + | ;; | |
| 23 | + | esac | |
| @@ -0,0 +1,23 @@ | |||||
| 1 | + | #!/usr/bin/env bash | |||
| 2 | + | # Static, colorful terminal content for the recording (no personal shell config). | |||
| 3 | + | # These listings are displayed, not parsed; truncation is intentional. | |||
| 4 | + | # shellcheck disable=SC2012 | |||
| 5 | + | set -euo pipefail | |||
| 6 | + | clear | |||
| 7 | + | case ${1:-} in | |||
| 8 | + | system) | |||
| 9 | + | fastfetch --logo small --structure OS:Kernel:WM:Terminal:Memory:Colors | |||
| 10 | + | ls -la --color=always /etc | head -24 || true | |||
| 11 | + | ;; | |||
| 12 | + | files) | |||
| 13 | + | ls -l --color=always /usr/share | head -34 || true | |||
| 14 | + | ;; | |||
| 15 | + | stash) | |||
| 16 | + | printf '\033[1;36m NEFERWL / YOUR STASH\033[0m\n\n' | |||
| 17 | + | for ((i = 0; i < 6; i++)); do | |||
| 18 | + | printf '\033[1;34m SET ASIDE\033[0m a window with Super+Shift+s\n' | |||
| 19 | + | printf '\033[1;32m BRING BACK\033[0m a window with Super+s\n' | |||
| 20 | + | printf '\033[1;35m STAY FOCUSED\033[0m keep your workspace clear\n\n' | |||
| 21 | + | done | |||
| 22 | + | ;; | |||
| 23 | + | esac | |||
M tools/demo/input.txt +3 -3
| @@ -1,16 +1,16 @@ | |||
| 1 | 1 | sleep 2s | |
| 2 | 2 | move 1918 1078 | |
| 3 | - | type clear; fastfetch --logo small --structure OS:Kernel:WM:Terminal:Memory:Colors | |
| 3 | + | type bash tools/demo/content.sh system | |
| 4 | 4 | key Return | |
| 5 | 5 | sleep 3s | |
| 6 | 6 | key Super+Return | |
| 7 | 7 | sleep 1500ms | |
| 8 | - | type clear; ls -C --color=always /usr/share | head -18 | |
| 8 | + | type bash tools/demo/content.sh files | |
| 9 | 9 | key Return | |
| 10 | 10 | sleep 3s | |
| 11 | 11 | key Super+Return | |
| 12 | 12 | sleep 1500ms | |
| 13 | - | type clear; printf '\033[1;34mNEFERWL / STASH\033[0m\n\nA window, set aside.\nReady when you are.\n'; seq 1 12 | |
| 13 | + | type bash tools/demo/content.sh stash | |
| 14 | 14 | key Return | |
| 15 | 15 | sleep 2500ms | |
| 16 | 16 | key Super+Shift+s | |
| @@ -1,16 +1,16 @@ | |||||
| 1 | sleep 2s | 1 | sleep 2s | ||
| 2 | move 1918 1078 | 2 | move 1918 1078 | ||
| 3 | - | type clear; fastfetch --logo small --structure OS:Kernel:WM:Terminal:Memory:Colors | 3 | + | type bash tools/demo/content.sh system |
| 4 | key Return | 4 | key Return | ||
| 5 | sleep 3s | 5 | sleep 3s | ||
| 6 | key Super+Return | 6 | key Super+Return | ||
| 7 | sleep 1500ms | 7 | sleep 1500ms | ||
| 8 | - | type clear; ls -C --color=always /usr/share | head -18 | 8 | + | type bash tools/demo/content.sh files |
| 9 | key Return | 9 | key Return | ||
| 10 | sleep 3s | 10 | sleep 3s | ||
| 11 | key Super+Return | 11 | key Super+Return | ||
| 12 | sleep 1500ms | 12 | sleep 1500ms | ||
| 13 | - | type clear; printf '\033[1;34mNEFERWL / STASH\033[0m\n\nA window, set aside.\nReady when you are.\n'; seq 1 12 | 13 | + | type bash tools/demo/content.sh stash |
| 14 | key Return | 14 | key Return | ||
| 15 | sleep 2500ms | 15 | sleep 2500ms | ||
| 16 | key Super+Shift+s | 16 | key Super+Shift+s | ||
M tools/demo/record.sh +1 -1
| @@ -14,7 +14,7 @@ env -u NEFERWL_STATE -u NEFERWL_SLOT "$work/neferwl" \ | |||
| 14 | 14 | ffmpeg -hide_banner -loglevel warning -f concat -safe 0 \ | |
| 15 | 15 | -i "$work/shots/frames.ffconcat" -vf 'fps=60,format=yuv420p' \ | |
| 16 | 16 | -c:v libx264 -crf 23 -movflags +faststart docs/media/demo.mp4 -y | |
| 17 | - | ffmpeg -hide_banner -loglevel warning -ss 23 -i docs/media/demo.mp4 \ | |
| 17 | + | ffmpeg -hide_banner -loglevel warning -ss 15.5 -i docs/media/demo.mp4 \ | |
| 18 | 18 | -frames:v 1 -update 1 docs/media/demo.png -y | |
| 19 | 19 | # Keep the optional, smaller preview only when it fits the README asset budget. | |
| 20 | 20 | ffmpeg -hide_banner -loglevel warning -i docs/media/demo.mp4 \ | |
| @@ -14,7 +14,7 @@ env -u NEFERWL_STATE -u NEFERWL_SLOT "$work/neferwl" \ | |||||
| 14 | ffmpeg -hide_banner -loglevel warning -f concat -safe 0 \ | 14 | ffmpeg -hide_banner -loglevel warning -f concat -safe 0 \ | ||
| 15 | -i "$work/shots/frames.ffconcat" -vf 'fps=60,format=yuv420p' \ | 15 | -i "$work/shots/frames.ffconcat" -vf 'fps=60,format=yuv420p' \ | ||
| 16 | -c:v libx264 -crf 23 -movflags +faststart docs/media/demo.mp4 -y | 16 | -c:v libx264 -crf 23 -movflags +faststart docs/media/demo.mp4 -y | ||
| 17 | - | ffmpeg -hide_banner -loglevel warning -ss 23 -i docs/media/demo.mp4 \ | 17 | + | ffmpeg -hide_banner -loglevel warning -ss 15.5 -i docs/media/demo.mp4 \ |
| 18 | -frames:v 1 -update 1 docs/media/demo.png -y | 18 | -frames:v 1 -update 1 docs/media/demo.png -y | ||
| 19 | # Keep the optional, smaller preview only when it fits the README asset budget. | 19 | # Keep the optional, smaller preview only when it fits the README asset budget. | ||
| 20 | ffmpeg -hide_banner -loglevel warning -i docs/media/demo.mp4 \ | 20 | ffmpeg -hide_banner -loglevel warning -i docs/media/demo.mp4 \ | ||