Skip to content
/ wshot Public
forked from qtilities/wshot

Wayland screenshot tool using Qarma

License

Notifications You must be signed in to change notification settings

LXQtBot/wshot

 
 

Repository files navigation

Wshot

Simple Qt screenshot GUI for wayland.

Image of wshot

Depends

  • grim
  • slurp
  • zenity / qarma
  • wl-clipboard

Optional

  • 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)

Build / Install

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

Usage

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.

Packages

Packaging status

Licenses

Wshot is licensed under the GPL3 license.
Icon comes from the nuoveXT2.2 icon set by sa-ki, LGPL3 license.

About

Wayland screenshot tool using Qarma

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 61.0%
  • CMake 39.0%