Skip to content

Autocopy not working with negative hue in HSV #100

Description

@Axenide

Hi! When using this command and selecting a color that has a negative hue, wl-copy will not work because it takes it as an option:

> hyprpicker -a -n -f hsv
-11 100% 81%
wl-copy: invalid option -- '1'
Usage:
        wl-copy [options] text to copy
        wl-copy [options] < file-to-copy

Copy content to the Wayland clipboard.

Options:
        -o, --paste-once        Only serve one paste request and then exit.
        -f, --foreground        Stay in the foreground instead of forking.
        -c, --clear             Instead of copying, clear the clipboard.
        -p, --primary           Use the "primary" clipboard.
        -n, --trim-newline      Do not copy the trailing newline character.
        -t, --type mime/type    Override the inferred MIME type for the content.
        -s, --seat seat-name    Pick the seat to work with.
        -v, --version           Display version info.
        -h, --help              Display this message.
Mandatory arguments to long options are mandatory for short options too.

See wl-clipboard(1) for more details.

A workaround is using wl-copy manually but of course this isn't ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions