Examples
tadaima includes three example greeters of increasing complexity.
simple
Section titled “simple”Bare-minimum login form. No wallpaper, no styling.
Good for understanding the API structure without visual distractions.
# NixOSnix build github:Myxogastria0808/tadaima#simple
# Arch-basedcd examples/simple && npm install && ags bundle app.tsx ./greeterStatic image wallpaper with Catppuccin Mocha theme.
Demonstrates:
Gtk.Picture+Gtk.Overlayfor background images- SCSS styling with
app.apply_css() - Why GTK4 CSS
background-image: url()doesn’t work with absolute paths (GTK issue #5648)
# NixOSnix build github:Myxogastria0808/tadaima#image
# Arch-basedcd examples/image && npm install && ags bundle app.tsx ./greeterVideo/image wallpaper with GStreamer support.
Demonstrates:
Gtk.MediaFile+Gtk.Picturefor looping video backgrounds- Why
Gtk.Videoisn’t used (always shows playback controls) - Dynamic wallpaper detection from cache directory
- GStreamer plugin dependencies for video playback
Supports images (PNG, JPG, WebP, SVG, BMP, GIF, TIFF) and videos (MP4, WebM, MKV, AVI, MOV).
# NixOSnix build github:Myxogastria0808/tadaima#movie
# Arch-basedcd examples/movie && npm install && ags bundle app.tsx ./greeter