1 unstable release

Uses new Rust 2024

0.5.0-rc1 May 2, 2025

#184 in Images

Download history 120/week @ 2025-04-30

120 downloads per month

MIT license

1MB
1.5K SLoC

haruhishot

It is a screenshot tool for wlroots based compositors such as sway and river written in Rust, with wayland-rs

haruhis

How to build

dependiences: wayland , wlroots , rust and meson

You can just run cargo run

If you want to package it , you can use meson.build

  meson setup \
    -Dprefix=/usr \
    -Dbuildtype=release \
    build
  ninja -C build

Installation

Packaging status

Thanks to wayshot

Use example

Pick with Region

haruhishot -S --stdout | wl-copy

or

haruhishot --slurp --stdout | wl-copy

Get Lists

haruhishot -L

or

haruhishot --list-outputs

Shot one screen

haruhishot -O DP-2 --stdout > test.png

or

haruhishot --output DP-2 --stdout > test.png

Get Color

haruhishot -C

or

haruhishot --color

Features

Notify Message

notify

TODO

  • I want to add a slint fontend
  • Real Fullscreen shot
  • In the code of wayshot, it seems need to make change if meet some format, but it works well on my computer, so..

Thanks to the help of developers in Smithay

Dependencies

~21–50MB
~858K SLoC