Mercurial > system76-keyboard-colors
diff keyboard_colors/custom/custom.py @ 3:eb2aa09653bd default tip
beginnings of CPU colors, daemon
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Mon, 29 Mar 2021 20:27:09 -0400 |
parents | b6d0a1e6ba3a |
children |
line wrap: on
line diff
--- a/keyboard_colors/custom/custom.py Tue Mar 02 20:17:36 2021 -0500 +++ b/keyboard_colors/custom/custom.py Mon Mar 29 20:27:09 2021 -0400 @@ -1,4 +1,4 @@ -from keyboard_colors.color_profile import ColorProfileBase +from keyboard_colors.color_profile import ColorProfileBase, Color class ColorProfile(ColorProfileBase): @@ -7,3 +7,7 @@ def __init__(self): super().__init__() + self.color = Color.from_hex('#FF3300') + + def next_color(self): + return Color.from_hex('#FF0033')