fixed some type bugs
This commit is contained in:
parent
dbfd6543bb
commit
e8488d47be
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ for item in lemonbar_cmd_options:
|
|||
case 'name':
|
||||
lemonbar_command += (" -n '" + lemonbar_cmd_options['name'] + "'")
|
||||
case 'line_thickness':
|
||||
lemonbar_command += (" -u " + lemonbar_cmd_options['line_thickness'])
|
||||
lemonbar_command += (" -u " + str(lemonbar_cmd_options['line_thickness']))
|
||||
case 'bg_color':
|
||||
lemonbar_command += (" -B '" + lemonbar_cmd_options['bg_color'] + "'")
|
||||
case 'fg_color':
|
||||
|
|
|
@ -54,7 +54,7 @@ def parse_module(module):
|
|||
case "line":
|
||||
line_options = format_options[option]
|
||||
for line_option in line_options:
|
||||
match line_options:
|
||||
match line_option:
|
||||
case "type":
|
||||
if line_options[line_option] == "underline":
|
||||
pre += ("%{+u}")
|
||||
|
|
Loading…
Reference in a new issue