Mercurial > system76-keyboard-colors
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:091a1f59a79c | 3:eb2aa09653bd |
---|---|
1 from keyboard_colors.color_profile import ColorProfileBase | 1 from keyboard_colors.color_profile import ColorProfileBase, Color |
2 | 2 |
3 | 3 |
4 class ColorProfile(ColorProfileBase): | 4 class ColorProfile(ColorProfileBase): |
5 | 5 |
6 type_name = 'Custom colors' | 6 type_name = 'Custom colors' |
7 | 7 |
8 def __init__(self): | 8 def __init__(self): |
9 super().__init__() | 9 super().__init__() |
10 self.color = Color.from_hex('#FF3300') | |
11 | |
12 def next_color(self): | |
13 return Color.from_hex('#FF0033') |