random-scripts/select-and-show-color.sh

6 lines
143 B
Bash
Raw Normal View History

2023-05-17 04:03:00 -07:00
#!/usr/bin/env zsh
local color="$(xcolor)"
printf '%s' "${color}" | xclip -selection clipboard
notify-send -t 5000 "Color Coppied" "${color}"