This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/scripts/bin/clipshot

12 lines
315 B
Plaintext
Raw Normal View History

2019-05-08 13:31:23 -05:00
#!/usr/bin/env bash
pkill unclutter
sleep 0.1
2019-05-08 13:31:23 -05:00
import ~/.ss.png
chmod 700 ~/.ss.png
< ~/.ss.png xclip -t image/png -i -selection clipboard
< ~/.ss.png xclip -t image/png -i -selection primary
< ~/.ss.png xclip -t image/png -i -selection secondary
< ~/.ss.png xclip -t image/png -i -selection buffer-cut
unclutter &