Skip to content

feat(widgets): add animated GIF and WebP desktop widget - #10

Open
4sakenme wants to merge 1 commit into
0-ss:mainfrom
4sakenme:feature/gif-widget
Open

4sakenme wants to merge 1 commit into
0-ss:mainfrom
4sakenme:feature/gif-widget

Conversation

@4sakenme

@4sakenme 4sakenme commented Oct 20, 2026 •

Copy link
Copy Markdown

Summary of Changes

This pull request introduces the Animated GIF / WebP Widget (GifWidget.qml) to MacShell's desktop widget collection, allowing users to place looping animated GIFs or WebP images directly on their desktop with native macOS aesthetics.

🖼️ Key Features

  • Format Support: Plays animated .gif and animated .webp loops using Qt's hardware-accelerated AnimatedImage engine.
  • macOS Design Language: Full integration with Small (185×185), Medium (395×185), and Large (375×385) card sizes, squircle corner radii, and soft top sheen border highlights.
  • Occlusion-Aware Performance (App Nap):
    • Automatically monitors active window coverage. When windows cover the desktop, animation playback pauses completely, reducing idle GPU and CPU usage to 0%.
  • Interactive File Chooser:
    • In Widget Edit mode, click "Choose GIF…" to pick any animation from disk via native dialogs (zenity, kdialog, or yad).
    • Safely copies and manages selected files inside ~/.config/quickshell/MacShell/images/.

🎥 Demo Preview

2aOboR6PdjGzP6JnYtKPE2YEm9GMn624Ptd1slto.mp4

MythosOfs added a commit to MythosOfs/MacShell that referenced this pull request Nov 22, 2026
Bring in Debian 13 support, GIF and WebP widgets, animated album art,
karaoke lyrics, System Monitor, optional Genie minimize, floating window
defaults, uptime, WireGuard, the audio hub, Reminders, Spotlight subtraction,
pinned-only Dock mode, tray collapse, and the unified icon grid.

Keep the fork's existing Spotlight screenshot search and Bluetooth status
reader. Sample Dock icons from the existing Image, fetch Apple Music motion
art from its public album page, and reuse MacLock's existing Spotify helper.
Isolate optional lyrics dependencies in a virtual environment.

Upstream: 0-ss#9, 0-ss#10, 0-ss#11, 0-ss#12, 0-ss#14, 0-ss#19, 0-ss#21, 0-ss#28, 0-ss#45, 0-ss#47,
0-ss#49, 0-ss#50, 0-ss#52, 0-ss#53, 0-ss#54.

Co-authored-by: 4sakenme <thienphutrinh4567@gmail.com>
Co-authored-by: Dexul <lcedu.dev@gmail.com>
Co-authored-by: Doffi4 <206447286+Doffi4@users.noreply.github.com>
Co-authored-by: Hrithik Ram Prasath <220790015+hrithikramprasath@users.noreply.github.com>
Co-authored-by: Marian Barba <134831821+MarianC-programing@users.noreply.github.com>
Co-authored-by: Victor Zwaga <victor.zwaga@gmail.com>
Co-authored-by: freroxx <yikni2829@gmail.com>
Co-authored-by: shuretokki <tri.r.utomo@gmail.com>
Co-authored-by: w4nnnn <irwanfebriansyah112@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant