selkies/skills/wl-overlay-layer/SKILL.md
Wayland overlay windows via gtk4-layer-shell (for screen recordings). Use when working with the wl-overlay candy, gtk4-layer-shell, or overlay dependencies.
npx skillsauth add overthinkos/overthink-plugins wl-overlay-layerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Dependencies | dbus |
| Install files | task:, charly-overlay |
gtk4 (RPM)gtk4-layer-shell (RPM) — includes Gtk4LayerShell-1.0.typelib for GObject Introspectionpython3-gobject (RPM)charly-overlayInstalled to ~/.local/bin/charly-overlay via task:. Dual-mode script (daemon + client) using GTK4 + gtk4-layer-shell for layer-shell protocol overlays.
Key implementation details:
#!/usr/bin/python3 (system Python 3.14, NOT pixi's Python — PyGObject is an RPM package)CDLL("libgtk4-layer-shell.so.0") must load before GTK4 import (registers layer-shell protocol before Wayland display init). Uses versioned soname .so.0 (unversioned .so is in -devel package only)window { background: none; } CSS applied globally at daemon startup. Without this, GTK4 on Wayland creates opaque surfaces that don't support alpha transparencyGtk.DrawingArea + Cairo paint(). GTK4 CSS background-color with rgba() does not composite correctly on layer-shell windowsGLib.idle_add()/tmp/charly-overlay.sock with JSON-line protocolOVERLAY (above TOP where waybar/swaync live)NONE (overlays never capture input)-1 (don't push other windows)charly-overlay-<name> per overlay window# charly.yml — typically included via desktop metalayers
# Already part of sway-desktop, selkies-desktop
my-desktop:
candy:
- wl-overlay
charly eval wl overlay show my-image --type text --text "Hello" --name intro
charly eval wl overlay list my-image
charly eval wl overlay hide my-image --all
/charly-selkies:sway-desktop — sway desktop composition/charly-selkies:selkies-desktop-layer — selkies streaming desktop composition/charly-selkies:sway-browser-vnc (via sway-desktop metalayer)/charly-selkies:selkies-labwc (via selkies-desktop metalayer)/charly-selkies:selkies-labwc-nvidia (via selkies-desktop metalayer)/charly-infrastructure:dbus-layer — D-Bus session bus (dependency, required by GTK4)/charly-selkies:wl-tools — Wayland automation tools (sibling in desktop stack)/charly-selkies:a11y-tools — also uses python3-gobject (RPM deduplication handles overlap)/charly-infrastructure:tmux-layer — tmux (required for overlay daemon hosting)/charly-eval:wl-overlay — Overlay command usage, types, recording workflow/charly-eval:wl — Compositor-agnostic desktop automation/charly-eval:record — Recording commands (overlays compose with recording)/charly-image:layer — candy authoring reference (charly.yml schema, task verbs, service declarations)/charly-eval:eval — declarative testing (eval: block, charly eval box, charly eval live)tools
OpenCharly CLI (charly) binary installed into container/VM images for in-container use. Use when working with charly binary deployment inside containers, native D-Bus support, or the full charly toolchain (charly binary + virtualization + gocryptfs + socat).
development
Operator CachyOS workstation profile — a kind:local template + target:local deploy that installs the full dev stack (30 candies) onto a CachyOS host via ShellExecutor. Lives in the overthinkos/cachyos submodule. MUST be invoked before editing or applying the charly-cachyos workstation profile.
tools
Fedora box with the full charly toolchain using shared candies. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Same candy list as charly-arch. Includes NVIDIA GPU runtime. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-fedora box.
tools
Arch Linux box with the full charly toolchain. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Composes /charly-coder:charly-mcp so the box is reachable as an MCP gateway on port 18765. NVIDIA GPU runtime composed in. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-arch box.