Color picker

This commit is contained in:
Out Of Ideas 2024-04-09 22:23:38 -05:00
parent 4f5ee21ba2
commit d433e40415

View file

@ -31,8 +31,8 @@ else
)
fi
# Copy to clipboard
echo $color | wl-copy -n
# Display as a notification
notify-send "Copied to clipboard" $color
if [[ "$(notify-send --action 'click=Copied to clipboard' 'Color Picker' $color)" == "click" ]]; then
# Copy to clipboard
echo $color | wl-copy -n
fi