Created
January 16, 2023 01:22
-
-
Save Vicfred/a934c221d9f99e683a39fe319cb95e10 to your computer and use it in GitHub Desktop.
scrot xclip selection clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
scrot '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awful.key({ }, "Print", function () awful.util.spawn("/home/vicfred/.misato/ss.sh") end),