Package Details: swayshot 2.7.3-3

Git Clone URL: https://aur.archlinux.org/swayshot.git (read-only, click to copy)
Package Base: swayshot
Description: Sway screenshots: screen, window or region. Also it uploads them to 0x0.st.
Upstream URL: https://gitlab.com/radio_rogal/swayshot
Keywords: grim screenshot slurp sway wayland
Licenses: GPL3
Conflicts: swaygrab-helper
Submitter: radio_rogal
Maintainer: radio_rogal
Last Packager: radio_rogal
Votes: 7
Popularity: 0.002085
First Submitted: 2019-03-20 15:33 (UTC)
Last Updated: 2022-07-27 21:13 (UTC)

Pinned Comments

tim3dman commented on 2021-10-05 02:42 (UTC) (edited on 2021-10-25 17:02 (UTC) by tim3dman)

I am trying to change the user variables, could you help me please? What do I put in ~/.config/swayshot.sh ? The whole swayshot.sh file with my variables? and make it executable? Or do I just put the new variables and if so in what format? Then do I make it executable? I'm confused.

OK I worked it out, swayshot.sh is a regular file and the variables are as so:

SWAYSHOT_DATEFMT=%F_%H-%M-%S
SWAYSHOT_SCREENSHOTS=$HOME/Screenshots

Latest Comments

radio_rogal commented on 2022-07-27 17:33 (UTC) (edited on 2022-07-27 21:06 (UTC) by radio_rogal)

Last updates:

  • remove --paste-once (wl-copy)
  • replace x0.at (doesn't work) with 0x0.st
  • fix floating window screenshot

tim3dman commented on 2021-10-05 02:42 (UTC) (edited on 2021-10-25 17:02 (UTC) by tim3dman)

I am trying to change the user variables, could you help me please? What do I put in ~/.config/swayshot.sh ? The whole swayshot.sh file with my variables? and make it executable? Or do I just put the new variables and if so in what format? Then do I make it executable? I'm confused.

OK I worked it out, swayshot.sh is a regular file and the variables are as so:

SWAYSHOT_DATEFMT=%F_%H-%M-%S
SWAYSHOT_SCREENSHOTS=$HOME/Screenshots

radio_rogal commented on 2021-10-04 20:47 (UTC)

There was one unobvious issue: it does not exit after taking a screenshot if wl-clipboard has installed. It depends on this issue https://github.com/bugaevc/wl-clipboard/issues/6. I have add the option --paste-once so now wl-copy waits for first paste then exits.

radio_rogal commented on 2021-03-26 16:18 (UTC)

It could copy an image file itself to clipboard, thanks Kishan Gupta.

radio_rogal commented on 2021-03-20 16:18 (UTC) (edited on 2021-03-20 16:18 (UTC) by radio_rogal)

Update: implement two MRs

  • new line after console print
  • get rid of bashisms

radio_rogal commented on 2021-03-19 22:20 (UTC)

https://x0.at/Fq8.png

radio_rogal commented on 2021-03-19 22:11 (UTC) (edited on 2021-03-19 22:34 (UTC) by radio_rogal)

There are three new commands:

  • Super + Prt Sc - make a screenshot then upload it to x0.at
  • Super + Alt + Prt Sc - make a screenshot of focused window then upload it
  • Super + Shift + Prt Sc - make a screenshot of region then upload it

And now it shows short message if notify-send is available.

radio_rogal commented on 2019-05-29 18:08 (UTC)

Now a user can define custom timestamp format: use SWAYSHOT_DATEFMT in ~/.config/swayshot.sh

Thanks Ranieri Althoff.