smiley walking around on your desktop
- Python 98.9%
- Shell 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Sit: she sits on the taskbar edge with her legs dangling over it and swings her feet; she can wave while seated. - Nap: after sitting a while she may doze off (head tilts, antennae droop, z's float up), then wakes and stands; a click wakes her early. - Climb: at a screen edge she sometimes climbs it, or heads for the nearest edge on purpose, hangs on, then climbs down or lets go. Clicking her on a wall makes her let go. - Right-click menu gains Sit down, Take a nap and Climb the wall. - Picking her up while seated keeps her under the cursor. - The pose preview shows the taskbar edge and wall for checking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| desktopsmiler | ||
| Smiley | ||
| .gitignore | ||
| README.md | ||
| requirements.txt | ||
| run.sh | ||
DesktopSmiler
Smiley walking around on your desktop.
Smiley is a little desktop pet. She strolls along the bottom of your screen, looks around, blinks, and now and then winks at you with a peace sign. She sits on the edge of the taskbar swinging her feet, sometimes dozes off there, and climbs up the sides of the screen. You can pick her up and throw her.
Running
Made for Linux desktops (developed on the Steam Deck's desktop mode, KDE Plasma).
./run.sh
The first run creates a Python environment in .venv/ and installs PySide6 (Qt for Python), so it
needs internet once. Requires Python 3.9 or newer.
./run.sh --size 200 # bigger Smiley (height in pixels, default 150)
./run.sh --no-click-through # if parts of her get cut off
./run.sh --preview poses.png # draw all her poses into an image and exit
Playing with her
- Click her: she waves. If she's asleep she wakes up; if she's on a wall she lets go.
- Drag her: pick her up. Let go to drop her, or fling her.
- Right-click: menu with Wave, Sit down, Take a nap, Climb the wall, Stay still and Quit.
How it works
desktopsmiler/character.pydraws Smiley with QPainter from aPose; there are no sprite files. Shapes and colours follow the reference art inSmiley/.desktopsmiler/animation.pyturns each behaviour (walk, sit, sleep, climb, wave, carried, fall...) into poses.desktopsmiler/pet.pyis the transparent, always-on-top window, plus her behaviour and physics.
On Wayland, apps can't position their own windows, so Smiley runs through XWayland
(QT_QPA_PLATFORM=xcb) automatically.