Updates on Violet
This commit is contained in:
parent
9976e7f144
commit
b279b25846
4 changed files with 66 additions and 11 deletions
|
@ -139,6 +139,26 @@ class DualPaneTextboxBase(base._Widget):
|
|||
if self.layout_right:
|
||||
self.layout_right.font = value
|
||||
|
||||
@property
|
||||
def font_left(self):
|
||||
return self._font_left
|
||||
|
||||
@font_left.setter
|
||||
def font_left(self, value):
|
||||
self._font_left = value
|
||||
if self.layout_left:
|
||||
self.layout_left.font = value
|
||||
|
||||
@property
|
||||
def font_right(self):
|
||||
return self._font_right
|
||||
|
||||
@font_right.setter
|
||||
def font_right(self, value):
|
||||
self._font_right = value
|
||||
if self.layout_right:
|
||||
self.layout_right.font = value
|
||||
|
||||
@property
|
||||
def fontshadow(self):
|
||||
return self._fontshadow
|
||||
|
@ -1197,7 +1217,7 @@ class VolumeInfoWidget(DualPaneTextboxBase):
|
|||
"""Displays information about the volume"""
|
||||
orientations = base.ORIENTATION_HORIZONTAL
|
||||
defaults = [
|
||||
('update_interval', 10, 'The update interval in seconds.'),
|
||||
('update_interval', 5, 'The update interval in seconds.'),
|
||||
('text_pattern', "{percentage}%", 'The pattern for the text that is displayed.'),
|
||||
('charging_color', "#ffffff", "Color when battery is charging"),
|
||||
('normal_color', "#ffffff", "Color when value is normal"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue