Added programs

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-03-22 21:27:54 +01:00
parent 5764f9a787
commit c18381a3c6
124 changed files with 18079 additions and 0 deletions

7
.local/bin/screenshot-area Executable file
View File

@ -0,0 +1,7 @@
FILE="/tmp/`date +%Y%m%d-%H.%M.%S.png`"
NAME=$(date +%s | sha256sum | base64 | head -c 20 ; echo)
gnome-screenshot --area -f "$FILE"
rsync -avz --delete $FILE -e "ssh -p 22" root@209.250.255.224:/var/www/yorune.pl/u/$NAME.png &&
echo -e "https://yorune.pl/u/$NAME.png" | xclip -selection clipboard && notify-send "Screenshot has been updated"