diff --git a/bin/colorpick.sh b/bin/colorpick.sh new file mode 100755 index 0000000..17ba724 --- /dev/null +++ b/bin/colorpick.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +color=$(hyprpicker) + +wl-copy "$color" + +status="$?" +if [[ "$status" == "0" ]]; then + notify-send "Color copied to clipboard" "$color" +else + notify-send "Some error happened while copying color" +fi