Skip to content

Instantly share code, notes, and snippets.

@drobune
Created February 26, 2025 23:11
Show Gist options
  • Save drobune/8f2acf1f5ab9bf00dfac6dac944cf59c to your computer and use it in GitHub Desktop.
Save drobune/8f2acf1f5ab9bf00dfac6dac944cf59c to your computer and use it in GitHub Desktop.
drozo(X11)
#!/bin/bash -e
# take screenshot to clipboard
#flameshot gui -r | xclip -selection clipboard -t image/png
selection=$(hacksaw -f "-i %i -g %g")
shotgun $selection - | xclip -t 'image/png' -selection clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment