Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
276 B

#!/bin/sh
# This script uses grabc (https://github.com/muquit/grabc) to grab
# a pixel from your screen and copy its value to clipboard
color=$(grabc)
printf "%s" "$color" | xclip -selection clipboard
notify-send -h "string:fgcolor:$color" -a " Color Grabbed" "$color"