Skip to content

ivanp/waypaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Wayland Image Paster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors