This is purely a refactor, no bug fixes or feats of any kind.
Cleaned up file structure
huez_manager now renamed to huez-manager
moved all management relevant apis to huez-manager/api, including colorscheme
when using apis, the following convention is upheld as I felt it makes it alot more clear what specific action you are taking from the manager.
-- This is preferred
local api = require("huez-manager.api")
api.live.add()
-- over this
local manager = require("huez_manager.selected")
manager.live_add()
It also allows for consistent method naming across interfaces such as
```lua
local api = require("huez-manager.api")
api.live.add() -- used to be manager.live_add()
api.live.installed() -- used to be manager.live_themes field
api.favorites.add() -- used to be manager.favourites_add()
api.favorites.installed() -- used to be manager.favourites_themes field
add TODO comments in some places to indicate what needs attention
This is purely a refactor, no bug fixes or feats of any kind.
huez_manager
now renamed tohuez-manager
huez-manager/api
, includingcolorscheme
-- over this local manager = require("huez_manager.selected") manager.live_add()
TODO
comments in some places to indicate what needs attentionwould like feedback when possible