diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-04 15:38:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-04 15:38:23 +0200 |
commit | 11f3c6944d77b21c4858dc29d5fe2cae84be6a46 (patch) | |
tree | 5c22052a84768fecb743afeefad8fe6ac51d18d7 /src/__main__.py | |
parent | .desktop file support (diff) | |
download | xpybar-11f3c6944d77b21c4858dc29d5fe2cae84be6a46.tar.gz xpybar-11f3c6944d77b21c4858dc29d5fe2cae84be6a46.tar.bz2 xpybar-11f3c6944d77b21c4858dc29d5fe2cae84be6a46.tar.xz |
beginning on menu plugin
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-x | src/__main__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/__main__.py b/src/__main__.py index f809a5d..82b332f 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -111,7 +111,7 @@ class Bar: @param output:int The index of the output within the screen as printed by xrandr, except primary is first @param height:int The height of the panel @param ypos:int The position of the panel in relation the either the top or bottom edge of the output - @param top:int Whether the panel is to be docked to the top of the output, otherwise to the bottom + @param top:bool Whether the panel is to be docked to the top of the output, otherwise to the bottom @param font:str The default font @param background:(red:int, green:int, blue:int) The default background @param foreground:(red:int, green:int, blue:int) The default foreground @@ -333,7 +333,7 @@ class Bar: self.draw_coloured_text(int(x), y, ascent, descent, part) i += 1 y += line_height - + def create_colour(self, red, green, blue): ''' Create a colour instance |