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':
 | 
					        case 'name':
 | 
				
			||||||
            lemonbar_command += (" -n '" + lemonbar_cmd_options['name'] + "'")
 | 
					            lemonbar_command += (" -n '" + lemonbar_cmd_options['name'] + "'")
 | 
				
			||||||
        case 'line_thickness':
 | 
					        case 'line_thickness':
 | 
				
			||||||
            lemonbar_command += (" -u " + lemonbar_cmd_options['line_thickness'])
 | 
					            lemonbar_command += (" -u " + str(lemonbar_cmd_options['line_thickness']))
 | 
				
			||||||
        case 'bg_color':
 | 
					        case 'bg_color':
 | 
				
			||||||
            lemonbar_command += (" -B '" + lemonbar_cmd_options['bg_color'] + "'")
 | 
					            lemonbar_command += (" -B '" + lemonbar_cmd_options['bg_color'] + "'")
 | 
				
			||||||
        case 'fg_color':
 | 
					        case 'fg_color':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -54,7 +54,7 @@ def parse_module(module):
 | 
				
			||||||
            case "line":
 | 
					            case "line":
 | 
				
			||||||
                line_options = format_options[option]
 | 
					                line_options = format_options[option]
 | 
				
			||||||
                for line_option in line_options:
 | 
					                for line_option in line_options:
 | 
				
			||||||
                    match line_options:
 | 
					                    match line_option:
 | 
				
			||||||
                        case "type":
 | 
					                        case "type":
 | 
				
			||||||
                            if line_options[line_option] == "underline":
 | 
					                            if line_options[line_option] == "underline":
 | 
				
			||||||
                                pre += ("%{+u}")
 | 
					                                pre += ("%{+u}")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue