Add colorpick.sh script

This commit is contained in:
2023-05-16 15:56:47 +03:00
parent 5784bda84a
commit 25274ad450

12
bin/colorpick.sh Executable file
View File

@@ -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