added eminem and chungus
This commit is contained in:
		
							parent
							
								
									fc630c6b55
								
							
						
					
					
						commit
						d961f35700
					
				
					 8 changed files with 32 additions and 4 deletions
				
			
		
							
								
								
									
										10
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -1,8 +1,14 @@ | ||||||
| install: stuff.sh stuff.png | install: stuff.sh images | ||||||
| 	mkdir /usr/share/stuff | 	mkdir /usr/share/stuff | ||||||
| 	cp stuff.png /usr/share/stuff/ | 	cp images/* /usr/share/stuff/ | ||||||
| 	cp stuff.sh /usr/bin/stuff | 	cp stuff.sh /usr/bin/stuff | ||||||
| 	chmod +x /usr/bin/stuff | 	chmod +x /usr/bin/stuff | ||||||
|  | 	cp chungus.sh /usr/bin/chungus | ||||||
|  | 	chmod +x /usr/bin/chungus | ||||||
|  | 	cp eminem.sh /usr/bin/eminem | ||||||
|  | 	chmod +x /usr/bin/eminem | ||||||
| clean: | clean: | ||||||
| 	rm -r /usr/share/stuff | 	rm -r /usr/share/stuff | ||||||
| 	rm /usr/bin/stuff | 	rm /usr/bin/stuff | ||||||
|  | 	rm /usr/bin/chungus | ||||||
|  | 	rm /usr/bin/eminem | ||||||
|  |  | ||||||
							
								
								
									
										11
									
								
								chungus.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								chungus.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,11 @@ | ||||||
|  | #!/bin/sh | ||||||
|  | [ $# -eq 0 ] && exit 1 | ||||||
|  | STUFF_FILE=/usr/share/stuff/chungus.png | ||||||
|  | FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png | ||||||
|  | LABEL_FILE=$FILE.label.png | ||||||
|  | text=$@ | ||||||
|  | 
 | ||||||
|  | convert -gravity center -background white -fill black -pointsize 40 -size 250x caption:"$text" $LABEL_FILE | ||||||
|  | convert -gravity center -background white $STUFF_FILE $LABEL_FILE +append $FILE  | ||||||
|  | xclip -selection clipboard -t image/png -i $FILE | ||||||
|  | 
 | ||||||
							
								
								
									
										11
									
								
								eminem.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								eminem.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,11 @@ | ||||||
|  | #!/bin/sh | ||||||
|  | [ $# -eq 0 ] && exit 1 | ||||||
|  | STUFF_FILE=/usr/share/stuff/eminem.png | ||||||
|  | FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png | ||||||
|  | LABEL_FILE=$FILE.label.png | ||||||
|  | text=$@ | ||||||
|  | 
 | ||||||
|  | convert -gravity center -background white -fill black -pointsize 80 -size 800x caption:"$text" $LABEL_FILE | ||||||
|  | convert -gravity center -background white $LABEL_FILE $STUFF_FILE +append $FILE  | ||||||
|  | xclip -selection clipboard -t image/png -i $FILE | ||||||
|  | 
 | ||||||
							
								
								
									
										
											BIN
										
									
								
								images/chungus.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								images/chungus.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 55 KiB | 
							
								
								
									
										
											BIN
										
									
								
								images/eminem.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								images/eminem.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 262 KiB | 
							
								
								
									
										
											BIN
										
									
								
								images/stuff.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								images/stuff.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 198 KiB | 
							
								
								
									
										
											BIN
										
									
								
								stuff.png
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								stuff.png
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 210 KiB | 
							
								
								
									
										4
									
								
								stuff.sh
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								stuff.sh
									
										
									
									
									
								
							|  | @ -5,7 +5,7 @@ FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png | ||||||
| LABEL_FILE=$FILE.label.png | LABEL_FILE=$FILE.label.png | ||||||
| text=$@ | text=$@ | ||||||
| 
 | 
 | ||||||
| convert -background white -fill black -pointsize 80 -size 1000x caption:"$text" $LABEL_FILE | convert -gravity center -background white -fill black -pointsize 80 -size 500x caption:"$text" $LABEL_FILE | ||||||
| convert -gravity center $LABEL_FILE $STUFF_FILE +append $FILE  | convert -gravity center -background white $LABEL_FILE $STUFF_FILE +append $FILE  | ||||||
| xclip -selection clipboard -t image/png -i $FILE | xclip -selection clipboard -t image/png -i $FILE | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue