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

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