Simple Qt screenshot GUI for Wayland.
- grim
- slurp
- qarma / zenity
- 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 buildBy 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, hyprland (floating windows only) and wayfire at the moment.
-
Using zenity checkboxes are not supported and replaced by combos.
-
Only wlroots-based compositor are supported.
Translations can be added in weblate platform.
Wshot is licensed under the GPL3 license.
Icon comes from the nuoveXT2.2 icon set by sa-ki, LGPL3 license.
