.config
.emacs.d
.gkrellm2
.local
bin
bin-cp
browser-x
cleaner
cleanertmp
cmus-shell
dmenumount
dmenuumount
dmenuunicode
dwmstatusbar
eix-repos-sync
f2py
f2py3
f2py3.6
f2py3.7
gentoo-test
geoip
getforecast
git-init-folder
mailsync
minecraft-launcher
mouse-set
night
notify-program
password-manager
rasp
remove-kernel
screen-switcher
screenshot
screenshot-area
set-wallpaper
shut-sup-rest
speedtest-cli
ssh-permissions
stream
suspend-at-time
temp
term-wmi
trans
update
update-kernel
welcomer
welcomer-serwer
wsl-notify
wylaczoff
yatqa
yt-mp3
yt-video
.mozilla
.gitignore
.tmux.conf
.vimrc
.vimrc-def
.vimrc-gentoo
.wall.jpg
.xinitrc
.zshrc
8 lines
341 B
Plaintext
Executable File
8 lines
341 B
Plaintext
Executable File
FILE="/tmp/`date +%Y%m%d-%H.%M.%S.png`"
|
|
NAME=$(date +%s | sha256sum | base64 | head -c 20 ; echo)
|
|
|
|
gnome-screenshot -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"
|