Add colorpick.sh script
This commit is contained in:
12
bin/colorpick.sh
Executable file
12
bin/colorpick.sh
Executable 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
|
||||
Reference in New Issue
Block a user