mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-19 20:38:03 +01:00
updated the example with the latest library. - removed char_width/height.
This commit is contained in:
@@ -367,10 +367,7 @@ background = \
|
|||||||
]
|
]
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
global char_width, char_height
|
wmdocklib.initPixmap(background, palette=palette)
|
||||||
char_width, char_height = wmdocklib.initPixmap(background,
|
|
||||||
font_name='6x8',
|
|
||||||
palette=palette)
|
|
||||||
config = parseCommandLine(sys.argv)
|
config = parseCommandLine(sys.argv)
|
||||||
procStat = config.get('procstat', defaultProcStat)
|
procStat = config.get('procstat', defaultProcStat)
|
||||||
if not os.access(procStat, os.R_OK):
|
if not os.access(procStat, os.R_OK):
|
||||||
|
|||||||
Reference in New Issue
Block a user