10 lines
		
	
	
	
		
			177 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			177 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -xe
 | 
						|
 | 
						|
grim -g "$(slurp -b aabbcc00 -p)" - |
 | 
						|
    convert - txt:- |
 | 
						|
    grep -oE '#[0-9A-Fa-f]{6}' |
 | 
						|
    wl-copy -n
 | 
						|
 | 
						|
notify-send "$(wl-paste)" "Copied to clipboard"
 |