bin/ssclip: hide cursor

This commit is contained in:
Henrik Lissner 2017-12-09 16:55:11 -05:00
parent 3896495f5c
commit 09435cc29c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# A script that takes a screenshot and stores it in the clipboard # A script that takes a screenshot and stores it in the clipboard
tmp=$(mktemp) tmp=$(mktemp)
if maim -s >"$tmp"; then if maim -us >"$tmp"; then
xclip -selection clipboard -t image/png "$tmp" && \ xclip -selection clipboard -t image/png "$tmp" && \
ding && \ ding && \
notify-send "Screenshot saved" notify-send "Screenshot saved"