Submitting a wallpaper
A wallpaper joins Pinakothiki with a pull request to this repository. There are no accounts and no uploads, and we review each wallpaper like code. After we merge it, the wallpaper gets its own page, and anyone can run it with phonto pinakothiki:<id>.
1. Make the wallpaper
A wallpaper is a folder with a manifest.toml and its shaders, or a single .glsl file. Making a wallpaper in the phonto docs explains both. You can also copy a wallpaper from the gallery and change it. If you copy one, keep its license. While you work on it, run it on your desktop:
phonto ./my-wallpaper
2. Add its folder
- Fork this repository.
- Add a folder under
wallpapers/. The name of the folder is the id of the wallpaper, such asrain-on-glass. - Put the files of the wallpaper in the folder.
- Add a
wallpaper.tomlthat describes the wallpaper (see step 3). - Add a screenshot as
preview.png,preview.jpgorpreview.webp.
An id has up to 64 lowercase letters, digits and dashes, and starts with a letter or a digit. The screenshot must be 16:9, at least 1280×720, and under 4 MB. phonto can make it. --at is the second to show, so choose a moment that shows the wallpaper at its best:
phonto dump ./my-wallpaper --at 5 --size 1600x900 --out preview.png
3. Describe it
title = "Rain on glass"
author = "your-github-username"
summary = "Drops run down the window, faster when your computer is busy."
description = """
A longer text, if the wallpaper needs one. Put a blank line between paragraphs.
"""
tags = ["rain", "weather"]
license = "MIT"
added = 2026-11-24
source = "https://www.shadertoy.com/view/..."
| Key | What it is |
|---|---|
title |
Up to 60 characters. |
author |
Your GitHub username. The page of the wallpaper links to you and shows your avatar. |
summary |
One sentence, up to 160 characters. The card of the wallpaper shows it. |
description |
Optional. Up to 2000 characters, with a blank line between paragraphs. Put file names, commands and other code in backticks, as in markdown. |
tags |
One to six tags. A tag has up to 24 lowercase letters, digits and dashes. |
license |
An SPDX id from the list under “The rules”. |
added |
The day that the wallpaper joins the gallery, as a TOML date. |
source |
Optional. A link to the work that the wallpaper comes from. |
The preview in the browser
The page of a wallpaper plays it in the browser, with controls that stand in for the desktop. The gallery chooses the controls from what the wallpaper reads. For example, a wallpaper that follows the sun gets an hour slider, and a wallpaper that reads the battery gets a charge slider. Each other input gets a slider of its own. To choose the controls yourself, add a [preview] table to wallpaper.toml:
[preview]
# Any of: hour, battery, load, temperature, memory, audio, workspace.
controls = ["load", "temperature", "battery"]
# What to do with it, over the preview: what to click, which keys to press,
# or which controls to try. Short, and in lowercase.
hint = "click the water"
# #define values for the browser only.
defines = { THEME = "3" }
# The slider of one of its own inputs.
[preview.inputs.wind]
label = "wind"
min = 0
max = 40
# What an action runs. The browser shows it when you click.
[preview.actions.tape1]
label = "Firefox"
command = "firefox"
4. Test it
Run the gallery on your computer:
pnpm install
pnpm dev # the gallery at http://localhost:4321, with a page for your wallpaper
pnpm build # the build that runs on your pull request
pnpm build reads every wallpaper, and stops with a list of the problems that it finds. It does not compile the shaders, so also run the wallpaper with phonto ./wallpapers/<id>.
5. Open the pull request
Open one pull request for each wallpaper. We make sure that it runs, that you can share it under its license, and that its commands do what they say. To change the wallpaper later, open another pull request. phonto install then gets the new version.
The rules
- Keep every file of the wallpaper in its folder. A path outside it, such as
~/.cache, is not on the computers of other people. - Use shaders, TOML, images (
.png,.jpg,.webp), videos (.mp4,.mov) and text files (.txt,.md,.json). - Do not use
.svgor.webmfiles. phonto cannot load SVG images, and phonto on macOS cannot play WebM videos. - Add scripts (
.sh,.mjs,.js,.py) only to make the images of the wallpaper or for its input commands. - Keep the wallpaper to 256 files and 25 MB at most.
Input commands
Put the input commands in inputs.toml, as [[input]] entries. Each entry needs name, command and every, and no other keys. phonto skips an entry that breaks this rule. Entries with the same name are choices, such as one for each window manager.
phonto never turns a command on by itself. phonto settings <id> shows the commands, and turns on the ones that the user chooses. Keep each command short and easy to read. Above each [[input]], write a comment that says what the command does, with no blank line between them. phonto settings <id> edit then shows the comment with its command.
Licenses
The license is one of: 0BSD, Apache-2.0, BSD-2-Clause, BSD-3-Clause, CC0-1.0, CC-BY-4.0, CC-BY-SA-4.0, CC-BY-NC-4.0, CC-BY-NC-SA-3.0, CC-BY-NC-SA-4.0, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later, ISC, LGPL-2.1-or-later, LGPL-3.0-or-later, AGPL-3.0-or-later, MIT, MPL-2.0, Unlicense or Zlib.
A shader from Shadertoy is under CC BY-NC-SA 3.0, unless its author gives another license. Ask the author before you port it, and link to it in source.