Overlay animated GIFs on your Hyprland desktop.
git clone https://github.com/ShibamDey69/fun_overlay.git
cd fun_overlayDependencies (Arch):
sudo pacman -S python-gobject python-pillow gtk-layer-shellpython3 main.py your_gif.gifCreate ~/.config/systemd/user/fun_overlay.service:
[Unit]
Description=Fun Overlay
After=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /path/to/fun_overlay/main.py /path/to/fun_overlay/your_gif.gif
Restart=on-failure
Environment=DISPLAY=:0
Environment=XDG_RUNTIME_DIR=%t
Environment=WAYLAND_DISPLAY=wayland-1
[Install]
WantedBy=graphical-session.targetThen enable and start:
systemctl --user daemon-reload
systemctl --user enable --now fun_overlay.serviceReplace
/path/to/fun_overlay/with the actual path.
main.py
your_gif.gif
- Hyprland
- Sway
- KDE Plasma (Wayland)
- Any compositor with
zwlr_layer_shell_v1support
- GNOME (Wayland or X11)
- Weston
- X11-only setups (no true overlay)
- Any compositor that doesn’t implement layer-shell protocol