Add colorpicker
This commit is contained in:
		
							parent
							
								
									6085c9f417
								
							
						
					
					
						commit
						1a40104856
					
				
					 4 changed files with 10 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								.bin/colorpicker
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								.bin/colorpicker
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
grim -g "$(slurp -c bd93f9 -p)" -t ppm - \
 | 
			
		||||
  | convert - -format '%[pixel:p{0,0}]' txt:- \
 | 
			
		||||
  | grep -o '#[0-9A-F]\{6\}' \
 | 
			
		||||
  | wl-copy -n
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue