Package Details: grimshot-git 1.6.rc2.r308.g07bfeb2a-1

Git Clone URL: https://aur.archlinux.org/grimshot-git.git (read-only, click to copy)
Package Base: grimshot-git
Description: A helper for screenshots within sway.
Upstream URL: https://github.com/swaywm/sway
Keywords: screenshot sway wayland
Licenses: MIT
Conflicts: grimshot
Provides: grimshot
Replaces: swaygrab
Submitter: whynothugo
Maintainer: None
Last Packager: whynothugo
Votes: 1
Popularity: 0.000001
First Submitted: 2020-05-04 12:55 (UTC)
Last Updated: 2022-09-05 12:22 (UTC)

Latest Comments

whynothugo commented on 2023-08-04 00:45 (UTC)

I'm not using this any more, feel free to adopt it.

Upstream is now https://github.com/OctopusET/sway-contrib. It might be sensible to make a split package with all the contrib utilities.

battuta commented on 2020-10-12 16:51 (UTC)

@WhyNotHugo The xdg-user-dirs dependency can now be removed (or moved to optdepends).

See https://github.com/swaywm/sway/pull/5287 (yes, I know you wrote it!)

jakebailey commented on 2020-07-30 07:06 (UTC)

I think this package should builddep on git, otherwise this package fails to be built in a clean chroot (e.g., with aurutils). Other -git packages list git as a dependency, for reference.

==> Making package: grimshot-git v1.5.rc2.r34.g3520fd2c-1 (Thu Jul 30 02:02:52 2020)
==> Retrieving sources...
  -> Cloning sway git repo...
Cloning into bare repository '/home/jake/.cache/aurutils/sync/grimshot-git/sway'...
==> Validating source files with md5sums...
    sway ... Skipped
==> ERROR: Cannot find the git package needed to handle git sources.

LaserEyess commented on 2020-07-20 13:47 (UTC) (edited on 2020-07-21 13:56 (UTC) by LaserEyess)

Can you update this package? yay keeps trying to parse the version string in lexicographical order, and your pkgver() function keeps returning v1.5-* which is explicitly lower priority than 1.2-*. Please either fix pkgver to strip the leading v or bump the AUR version to one with a v.

Simply adding s/^v// to your sed command will work.

eoli3n commented on 2020-05-10 14:57 (UTC)

Latest commit is broken

❯ grimshot check
Checking if required tools are installed. If something is missing, install it to your system and make it available in PATH...   grim: OK
   slurp: OK
   swaymsg: OK
   wl-copy: OK
   jq: OK
   notify-send: OK

❯ LANG=C grimshot
/usr/bin/grimshot: line 22: [: ==: unary operator expected
Usage:
  grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE]
  grimshot check
  grimshot usage

Commands:
  copy: Copy the screenshot data into the clipboard.
  save: Save the screenshot to a regular file.
  check: Verify if required tools are installed and exit.
  usage: Show this message and exit.

Targets:
  active: Currently active window.
  screen: All visible outputs.
  output: Currently active output.
  region: Manually select a region.
  window: Manually select a window.

❯ grimshot save screen
error while writing to output stream
Error: Unable to invoke grim