Skip to content

Instantly share code, notes, and snippets.

@joshpetit
Created September 10, 2020 19:31
Show Gist options
  • Save joshpetit/96406081b9d1d37425fb1fa1dbc90006 to your computer and use it in GitHub Desktop.
Save joshpetit/96406081b9d1d37425fb1fa1dbc90006 to your computer and use it in GitHub Desktop.
Download the last taken screenshot to your phone via kdeconnect
# !bin/bash
file=$(ls -Art ~/Pictures/| grep Screenshot\ from\ | tail -n 1)
kdeconnect-handler ~/Pictures/"$file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment