first commit
This commit is contained in:
		
							
								
								
									
										7
									
								
								.local/bin/screenshot
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								.local/bin/screenshot
									
									
									
									
									
										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 -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