⚙️ config(hypr): changes to the hyprpicker script

This commit is contained in:
Sergio Laín 2024-03-30 17:59:27 +01:00
parent bb061a8647
commit ddfd925597
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -3,7 +3,7 @@
# Simple Script To Pick Color Quickly. # Simple Script To Pick Color Quickly.
# pick and autocopy # pick and autocopy
hyprpicker -n -a hyprpicker -a
# get the value # get the value
color=$(wl-paste) color=$(wl-paste)
@ -14,5 +14,5 @@ if [[ "$color" ]]; then
# generate preview # generate preview
convert -size 48x48 xc:"$color" "$image" convert -size 48x48 xc:"$color" "$image"
# notify the color # notify the color
notify-send -u low -i "$image" "$color" "Copied to clipboard." notify-send -i "$image" "$color" "Copied to clipboard"
fi fi