Simple Qt screenshot GUI for wayland.
- grim
- slurp
- zenity / qarma
- wl-clipboard
- cmake (to build/update translations and install the application)
- git (to pull latest VCS checkouts)
- wf-info (to select window under wayfire)
- jq (to select window under sway)
CMAKE_INSTALL_PREFIX
has to be set to /usr
on most operating systems.
Using sudo make install
is discouraged, use the system package manager
instead where possible.
cmake -B build -D CMAKE_INSTALL_PREFIX=/usr -W no-dev
cmake --build build --verbose
DESTDIR="$(pwd)/package" cmake --install build
By default screenshots are saved to ~/tmp/screenshot_*
, edit FILEDIR=
in wshot
to change.
If no custom filename is set it defaults to screenshot_$(date +%F_%H.%M.%S)
e.g. screenshot_2023-08-07_11.37.18
.
Note: "Selected window" mode is working only in sway and wayfire at the moment.
Not tested using zenity instead of qarma.
Wshot is licensed under the GPL3 license.
Icon comes from the nuoveXT2.2 icon set by sa-ki, LGPL3 license.