Skip to main content

Clipboard image saver for Wayland/Sway

Project description

WayPaste

Save clipboard images to disk from anywhere on Sway/Wayland.

Press Ctrl+Alt+V → native save dialog → file saved → notification.

How it works

  1. Checks clipboard for image/png (e.g. after Figma "Copy as PNG")
  2. Opens a GTK file-save dialog pre-filled with a date-based filename and your last-used directory
  3. Saves the file and sends a notify-send confirmation
  4. If clipboard has no image, sends an error notification instead

Install

Arch / CachyOS (recommended):

yay -S python-waypaste

pip (system Python):

pip install waypaste

Requires system Python with python-gobject already installed. Do not use uvx or an isolated venv.

From source:

bash install.sh

Then add to ~/.config/sway/config:

bindsym Ctrl+Alt+v exec ~/.local/bin/waypaste

Reload Sway: Super+Shift+C

Dependencies

sudo pacman -S wl-clipboard libnotify python-gobject
Package Provides
wl-clipboard wl-paste — reads Wayland clipboard
libnotify notify-send — desktop notifications
python-gobject GTK3 file-save dialog

Default filename

YYYY-MM-DD-HHmmss.png — e.g. 2026-04-03-143200.png

Last-used directory is remembered in ~/.local/share/waypaste/last-dir.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

waypaste-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file waypaste-0.1.0.tar.gz.

File metadata

  • Download URL: waypaste-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for waypaste-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5dd47658dc39b26497ca09ee50bca917f5b65769dbc3b3d74482f80f1625b1db
MD5 30916994a1c6d5100e95c67333fa9d67
BLAKE2b-256 2ecc1132de6d1c84fa265835c17598754a73d81a10b333bcc705e80a16ebad27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page