Files
dotfiles/bin/colorpick.sh

13 lines
210 B
Bash
Executable File

#! /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