📚 docsstring init

This commit is contained in:
ful1e5 2020-10-09 16:52:11 +05:30
parent 0c61380b10
commit 48e5b42df3
3 changed files with 22 additions and 4 deletions

View file

@ -8,15 +8,21 @@ from clickgen import build_x11_cursor_theme, build_cursor_theme, build_win_curso
class CursorBuilder():
"""
Bibata cursors builder 🚀
Build Bibata Windows & X11 cursors 🚀.
"""
def __init__(self, name: str, config: ConfigProvider) -> None:
"""
docstring
"""
self.__name = name
self.__config = config
self.__bundler = Bundler(name, config)
def build_x11_cursors(self) -> None:
"""
docstring
"""
print('🌈 Building %s Theme ...' % self.__name)
build_x11_cursor_theme(
name=self.__name,
@ -31,6 +37,9 @@ class CursorBuilder():
self.__bundler.x11_bundle()
def build_win_cursors(self) -> None:
"""
docstring
"""
print('🌈 Building %s Theme ...' % self.__name)
build_win_cursor_theme(
name=self.__name,
@ -45,6 +54,10 @@ class CursorBuilder():
self.__bundler.win_bundle()
def build_cursors(self) -> None:
"""
docstring
"""
print('🌈 Building %s Theme ...' % self.__name)
build_cursor_theme(
name=self.__name,