Skip to content

Instantly share code, notes, and snippets.

@Vicfred
Created January 16, 2023 01:22
Show Gist options
  • Save Vicfred/a934c221d9f99e683a39fe319cb95e10 to your computer and use it in GitHub Desktop.
Save Vicfred/a934c221d9f99e683a39fe319cb95e10 to your computer and use it in GitHub Desktop.
scrot xclip selection clipboard
#!/bin/sh
scrot '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' -s
@Vicfred
Copy link
Author

Vicfred commented Jan 16, 2023

awful.key({ }, "Print", function () awful.util.spawn("/home/vicfred/.misato/ss.sh") end),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment