Last updates:
- remove --paste-once (wl-copy)
- replace x0.at (doesn't work) with 0x0.st
- fix floating window screenshot
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) |
Last updates:
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
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.
It could copy an image file itself to clipboard, thanks Kishan Gupta.
Update: implement two MRs
There are three new commands:
And now it shows short message if notify-send is available.
Now a user can define custom timestamp format: use SWAYSHOT_DATEFMT in ~/.config/swayshot.sh
Thanks Ranieri Althoff.
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