Color picker
This commit is contained in:
parent
4f5ee21ba2
commit
d433e40415
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue