Skip to main content

Simple, light, modern tool for screenshooting.

Project description

A simple UI for handling screenshots.

Installation

  • ArchLinux: yay install shotman.

  • Others: pip install shotman.

Setup

You’ll generally want to bind shotman to some hotkeys. I keep this in my sway settings:

# Screenshots:
# Super+P: Current window
# Super+Shift+p: Select area
# Super+Alt+p Current output
# Super+Ctrl+p Select a window

bindsym Mod4+p       exec shotman active
bindsym Mod4+Shift+p exec shotman area
bindsym Mod4+Mod1+p  exec shotman output
bindsym Mod4+Ctrl+p  exec shotman window

Note: the above supercedes the recommendation given by grimshot. Make sure you don’t have both on your config file.

I also recommend adding settings to position it on-screen. If you skip this, the window will show up centred, since Wayland clients cannot control their position:

for_window [title="shotman"] move position 30 30

It is currently not clear if this application should be exceptional and use a privileged API or not.

Usage

shotman runs and immediately shows the screenshot. Note that, since shotman uses grimshot under the hood, you image is saved to disk already by default.

Actions

You can execute the same actions with a mouse _or_ keyboard:

  • Done: Exits. The screenshot images remains on disk. - Primary Keybinding: Esc. - Secundary Keybindings: Ctrl+q, Ctrl+w, q.

  • Delete: Deletes the image file and exists immediately. - Keybinding: d. - Secundary Keybindings: Delete, Ctrl+d.

  • Copy: Copies the screenshot image to the clipboard. See caveats below. - Keybinding: Ctrl+C.

If there’s a good, lightweight image editor that runs well on Wayland, I’d be happy to add an Edit button that opens the screenshot image in it.

Caveats

If you’re not using a clipboard manager, any copied image will be lost after closing the window.

There are plants to keep the application running in the background until it loses the clipboard handle to work around this.

Licence

shotman is licensed under the ISC licence. See LICENCE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shotman-0.1.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

shotman-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file shotman-0.1.1.tar.gz.

File metadata

  • Download URL: shotman-0.1.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for shotman-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8fcb2ee5e9af47b5d111a41f874577267dea85b4631d828d561da4cc48b0f186
MD5 b4021077f1a7c10303e8e1b99a8f1599
BLAKE2b-256 4f3b73e9a02347aab52afd17ca3539306c5366f9aa6b3beb6eb4ae6068b0a674

See more details on using hashes here.

File details

Details for the file shotman-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shotman-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for shotman-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 386dba004ea34e4cae2f6af2d4e86f4d472812ea6e60d1a819984b0f49a90ae7
MD5 34ca1ad63a1c903863d81a09796be4e3
BLAKE2b-256 b290e5b551ad083754991faf4aac2ceb58a635c97cf65b50ad970f9b8d6e8727

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page