mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-19 12:28:10 +01:00
1575762: of pixmask
hard coded 3 pixels margin. it should actually be configurable, but better this than nothing. and on the right side we need some more margin to get a symmetrical effect.
This commit is contained in:
@@ -220,9 +220,9 @@ def initPixmap(xpm_background=None,
|
|||||||
] + [
|
] + [
|
||||||
'0'*64 + item for item in xpm_background[:3]
|
'0'*64 + item for item in xpm_background[:3]
|
||||||
] + [
|
] + [
|
||||||
'000'+bg*(64-6)+'000' + item for item in xpm_background[3:-3]
|
'000'+bg*(64-8)+'00000' + item for item in xpm_background[3:-4]
|
||||||
] + [
|
] + [
|
||||||
'0'*64 + item for item in xpm_background[-3:]
|
'0'*64 + item for item in xpm_background[-4:]
|
||||||
] + [
|
] + [
|
||||||
line.replace('%', fg).replace(' ', bg)
|
line.replace('%', fg).replace(' ', bg)
|
||||||
for line in char_map
|
for line in char_map
|
||||||
|
|||||||
Reference in New Issue
Block a user