⚙️ config(hypr): changes to the hyprpicker script
This commit is contained in:
parent
bb061a8647
commit
ddfd925597
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue