initial commit
This commit is contained in:
7
screenshot_to_url_local.sh
Executable file
7
screenshot_to_url_local.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$DISPLAY" ]; then
|
||||
DISPLAY=:0
|
||||
fi
|
||||
|
||||
scrot '%Y-%m-%d-%H:%M:%S.png' -e "mv \$f ~http/screenshots/. && echo https://www.smirky.net/screenshots/\$f | xclip -selection clip-board"
|
||||
Reference in New Issue
Block a user