diff --git a/docs/ui.md b/docs/ui.md index 86f5402..47a7aa0 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -1113,9 +1113,16 @@ GPUI_SHOT_HEADLESS=1 DELAY=4 VOELIN_DEMO_UI=1 VOELIN_DEV_THEME=dark spikes/gpui/ Wayland, the desktop's session bus and its portals are out of the environment, and the state directories are temporary ones: a run never touches the desktop -or `~/.local/state/voelin`. `docs/ui/gpui-swatch-dark.png` and -`gpui-swatch-light.png` are two such pictures (truecolour: a reduction to 256 -colours would change the tokens' values). +or `~/.local/state/voelin`. **The screen must be larger than the window**: +`headless.sh`'s default is 3840 by 2160 and `xvfb-run` gets twice the window. +On a screen as large as the window, openbox fits the window and its frame into +it and the picture comes out smaller (1438 by 935 for 1440 by 960, which is how +the first set of pictures was made); on a larger one it is exactly the size +asked for. `docs/ui/gpui-swatch-dark.png` and `gpui-swatch-light.png` are two +such pictures (truecolour: a reduction to 256 colours would change the tokens' +values), and the five of the shell are made the same way (1440 by 960, on +Xvfb `:143` of 3840 by 2160 with openbox and Mesa's lavapipe, the debug build, +a state directory under the checkout's `.scratch/`). ![The swatch page, dark](ui/gpui-swatch-dark.png) ![The swatch page, light](ui/gpui-swatch-light.png) @@ -1134,7 +1141,9 @@ callbacks), on the client's store. The pictures are the shell at 1440 by 960 under `scripts/gpui-shot.sh`; the server on screen is the first of the sample servers (`VOELIN_DEMO_UI=1`), connected, with its voice card and the user's card. `gpui-shell-form-dark.png` -is the server form. +is the server form: the empty shell at the same size, the rail's plus clicked +and an address and a name typed with `xdotool` (the nickname is the login's; +the picture was taken as `nova`). ![the server form, dark](ui/gpui-shell-form-dark.png) diff --git a/docs/ui/gpui-shell-empty-dark.png b/docs/ui/gpui-shell-empty-dark.png index 9238fda..4f9f068 100644 Binary files a/docs/ui/gpui-shell-empty-dark.png and b/docs/ui/gpui-shell-empty-dark.png differ diff --git a/docs/ui/gpui-shell-empty-light.png b/docs/ui/gpui-shell-empty-light.png index a838e85..e2c3fb2 100644 Binary files a/docs/ui/gpui-shell-empty-light.png and b/docs/ui/gpui-shell-empty-light.png differ diff --git a/docs/ui/gpui-shell-form-dark.png b/docs/ui/gpui-shell-form-dark.png index c893f2e..512c100 100644 Binary files a/docs/ui/gpui-shell-form-dark.png and b/docs/ui/gpui-shell-form-dark.png differ diff --git a/docs/ui/gpui-shell-server-dark.png b/docs/ui/gpui-shell-server-dark.png index 89313c1..67fa05b 100644 Binary files a/docs/ui/gpui-shell-server-dark.png and b/docs/ui/gpui-shell-server-dark.png differ diff --git a/docs/ui/gpui-shell-server-light.png b/docs/ui/gpui-shell-server-light.png index a298a9f..eb18a96 100644 Binary files a/docs/ui/gpui-shell-server-light.png and b/docs/ui/gpui-shell-server-light.png differ diff --git a/docs/ui/gpui-swatch-dark.png b/docs/ui/gpui-swatch-dark.png index ce50013..f9c4aa7 100644 Binary files a/docs/ui/gpui-swatch-dark.png and b/docs/ui/gpui-swatch-dark.png differ diff --git a/docs/ui/gpui-swatch-light.png b/docs/ui/gpui-swatch-light.png index edef9ee..7116da0 100644 Binary files a/docs/ui/gpui-swatch-light.png and b/docs/ui/gpui-swatch-light.png differ diff --git a/scripts/gpui-shot.sh b/scripts/gpui-shot.sh index 4ac5a7c..7de2384 100755 --- a/scripts/gpui-shot.sh +++ b/scripts/gpui-shot.sh @@ -12,7 +12,10 @@ # GPUI_SHOT_HEADLESS=1 spikes/gpui/shell.sh spikes/gpui/headless.sh -- \ # scripts/gpui-shot.sh docs/ui/gpui-swatch-dark.png swatch 1440x960 # -# Needs xdotool, xwd (x11-apps) and ImageMagick. +# Needs xdotool, xwd (x11-apps) and ImageMagick. The screen must be larger +# than the window (headless.sh's is 3840x2160; xvfb-run gets twice the window): +# on one as large as the window the window manager fits the window and its +# frame into the screen, and the picture is smaller than the size asked for. # # Wayland is taken out of the environment (GPUI prefers it, so the window # would open on the desktop), and so are the desktop's session bus and its