dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud
GNU General Public License v2.0
42 stars 3 forks source link

Colour config doesn't get applied in Wayland #29

Closed dshoreman closed 5 years ago

dshoreman commented 5 years ago

Where Slop takes one colour option, Slurp takes three and they're in a different format too.

Slop uses decimal RGBA whereas Slurp uses Hex, so we'll need to add some translation layer (or duplicate the config option) to allow for a different selection colour in Wayland.

While not documented in slurp -h, Slurp has the following defaults:

    RRGGBBAA
-b #FFFFFF40    Background colour
-c #000000FF    Border colour
-s #00000000    Selection colour