Package Details: swayshot 2.7.3-4

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: vitalijr2
Maintainer: vitalijr2
Last Packager: vitalijr2
Votes: 7
Popularity: 0.000001
First Submitted: 2019-03-20 15:33 (UTC)
Last Updated: 2023-07-05 07:10 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

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

vitalijr2 commented on 2023-07-05 07:12 (UTC)

Add the backup field with the value etc/sway/config.d/swayshot.conf

eclairevoyant commented on 2023-05-15 06:35 (UTC)

If you're going to install stuff to /etc, please add the config file to the backup array as well. But I would actually vote for not installing the config file since it breaks configs that use a mapping to the Print key

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

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

vitalijr2 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.

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

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

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

Update: implement two MRs

  • new line after console print
  • get rid of bashisms

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

https://x0.at/Fq8.png

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

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.

vitalijr2 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.