From 67cddb24ea58e43cdc058d05ba87339b81138a64 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 13 Apr 2022 17:09:18 +0200 Subject: [PATCH] Drop support for foreground color. --- wmdocklib/helpers.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wmdocklib/helpers.py b/wmdocklib/helpers.py index 1466a23..0567a37 100644 --- a/wmdocklib/helpers.py +++ b/wmdocklib/helpers.py @@ -158,8 +158,7 @@ def read_xpm(filename): def init_pixmap(background=None, patterns=None, style='3d', width=64, - height=64, margin=3, font_name=None, bg="black", fg="gray", - palette=None): + height=64, margin=3, font_name=None, bg="black", palette=None): """builds and sets the pixmap of the program. the (width)x(height) upper left area is the work area in which we put @@ -220,7 +219,7 @@ def init_pixmap(background=None, patterns=None, style='3d', width=64, bevel = get_unique_key('#bebebe') palette[bevel] = '#bebebe' - # handle bg/fg colors + # handle bg color bg = normalize_color(bg) key = get_unique_key(palette) palette[key] = bg