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

6 lines
143 B
Bash
Executable File

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