Skip to content

MagnusChase03/GoWallClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoWallClone

Clone of the awesome tool gowall, https://github.com/Achno/gowall, to convert wallpaper colors to match a color scheme.

Installation

$ go build -ldflags "-w" main.go
$ strip main
$ sudo mv main /usr/bin/gowall

Usage

$ gowall <generate|convert> <config file path> <image path> [save path|min|max]

To create a new color scheme from an image:

$ gowall generate <config file path> <image path> <min|max>

Note: Due to the nature of sorting, using a min sort method may result in different color themes every run.

To create a new wallpaper based on a color scheme:

$ gowall convert <config file path> <image path> <save path>

A config file should have a list of colors for your color scheme in JSON format:

{
    "Colors": [
        "#979eab",
        "#282c34",
        "#cccccc",
        "#282c34",
        "#e06c75",
        "#98c379",
        "#e5c07b",
        "#61afef",
        "#be5046",
        "#56b6c2",
        "#979eab",
        "#393e48",
        "#d19a66",
        "#56b6c2",
        "#e5c07b",
        "#61afef",
        "#be5046",
        "#56b6c2",
        "#abb2bf",
        "#282c34",
        "#979eab"
    ]
}

Example

Before: Before picture

After: After picture

Releases

No releases published

Packages

No packages published

Languages