first commit
This commit is contained in:
.local/bin
backup-mcbin-cpcleanercleanertmpcmus-shelldmenumountdmenuumountdmenuunicodeeix-repos-syncf2pyf2py3f2py3.6geoipgetforecastgit-init-folderhosts-updatemailsyncminecraft-launchermouse-setnightobshraspscreen-switcherscreenshotscreenshot-areaset-wallpapershut-sup-restspeedtest-clissh-permissionsstream-twitchstream-youtubesuspend-at-timetempterm-wmitwitchupdateupdate-kernelwelcomerwelcomer-serwerwheelwylaczoffyatqayt-mp3yt-video
.tmux.conf.vim
.viminfo.vimrc.zshrc
7
.local/bin/screenshot-area
Executable file
7
.local/bin/screenshot-area
Executable 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 2223" 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"
|
Reference in New Issue
Block a user