fix: notify when clipboard utility is missing #2
Reference in New Issue
Block a user
Delete Branch "fix/copy-fail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds system notifications and improved CLI feedback when the user attempts to copy a color but no clipboard utility (like wl-copy or xclip) is installed.
Changes
notify_errorfunction for high-visibility warning notifications.process_colorto capture clipboard failures and trigger notifications when--notifyis active.Verification
Verified using a restricted
PATHenvironment wherewl-copyandxclipwere removed, confirming thatnotify-sendis correctly invoked with a warning payload.