1 2 3 4 5 6 7 8
#!/bin/bash set -e SELECTED_COLOR=$(grabc) echo $SELECTED_COLOR | xsel -b echo $SELECTED_COLOR