fontsize=12, padding=3, ) extension_defaults = widget_defaults.copy() screens = [ Screen( bottom=bar.Bar( [ widget.CurrentLayout(), widget.GroupBox(), widget.Prompt(), widget.WindowName(), widget.Chord( chords_colors={ 'launch': ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper(), ), widget.TextBox("default config", name="default"), widget.TextBox("Press <M-r> to spawn", foreground="#d75f5f"), widget.Systray(), widget.Clock(format='%Y-%m-%d %a %I:%M %p'), widget.QuickExit(), ], 24, ), ), ] # Drag floating layouts. mouse = [
urgent_border=colors[9], urgent_text=colors[9], active=colors[7], block_highlight_text_color=colors[10], foreground=colors[14], hide_unused=True, highlight_method='text', this_current_screen_border=colors[14], this_screen_border=colors[14], highlight_color=[colors[14], colors[12]], ), widget.Prompt(), widget.WindowName(), widget.Chord( chords_colors={ "launch": (colors[11], colors[0]), }, name_transform=lambda name: name.upper(), ), widget.Volume(emoji=True, ), widget.Volume(), widget.Systray(), widget.Clock( format="%Y-%m-%d %a %I:%M %p", padding=25, ), widget.QuickExit(), ], 30, margin=[16, 16, 0, 16], # N E S W background=colors[0], ), ),
font='UbuntuMono Nerd Font', scale=0.65), widget.CurrentLayout(background=['#F07178', "#F07178"], foreground=['#0f101a', "#0f101a"], font='UbuntuMono Nerd Font', padding=10), widget.TextBox( text='', background=['#F07178', "#F07178"], #b6f81c foreground=['#a151d3', "#a151d3"], fontsize=39, padding=-3), widget.Chord(background=["#1e2127", "#1e2127"], foreground=['#cbacff', "#eeffff"], chords_colors={ 'launch': ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper(), font='UbuntuMono Nerd Font'), widget.TextBox(text=' ', background=["#a151d3", "#a151d3"], foreground=['#0f101a', "#0f101a"], padding=5), widget.Clock(background=["#a151d3", "#a151d3"], foreground=['#0f101a', "#0f101a"], format='%d/%m/%Y - %H:%M', font='UbuntuMono Nerd Font'), widget.TextBox(text='', background=["#a151d3", "#a151d3"], foreground=["#1e2127", "#1e2127"], fontsize=39,
def init_bar_systray(): return bar.Bar( [ widget.Image(filename="", margin_x=5), widget.GroupBox(inactive='ffffff', highlight_method="block", this_current_screen_border='A93500', this_screen_border='A93500'), widget.Prompt(), widget.CurrentLayout(), widget.Sep(linewidth=650, background='111212', foreground='111212'), widget.Sep(linewidth=20, background='111212', foreground='111212'), widget.Sep(linewidth=15, background='111212', foreground='111212'), widget.Sep(linewidth=20, background='111212', foreground='111212'), widget.Chord( chords_colors={ 'launch': ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper(), ), # widget.TextBox("default config", name="default"), # widget.TextBox("Press <M-r> to spawn", foreground="#d75f5f"), widget.Systray(), widget.Sep(linewidth=0, background='8A8A8B', foreground='8A8A8B', padding=1), widget.Image(filename="", margin_x=5), widget.Sep(linewidth=2, background='111212', foreground='111212'), widget.TextBox(fmt=kernel, foreground="ffffff"), widget.Sep(linewidth=2, background='111212', foreground='111212'), widget.Sep(linewidth=0, background='8A8A8B', foreground='8A8A8B', padding=1), widget.Sep(linewidth=2, background='111212', foreground='111212'), widget.Image(filename="", margin_x=5), widget.Clock(format=' %Y-%m-%d %a %I:%M %p '), widget.Sep(linewidth=0, background='8A8A8B', foreground='8A8A8B', padding=1), widget.Sep(linewidth=2, background='111212', foreground='111212'), widget.Image(filename="", margin_x=5), widget.TextBox(fmt=sda_output, foreground='62E9E1'), widget.Image(filename="", margin_x=5), widget.TextBox(fmt=sdb_output, foreground='4e92d0'), widget.TextBox(fmt=sdc_output, foreground='4e92d0'), widget.Sep(linewidth=10, background='111212', foreground='111212', padding=1), widget.Sep(linewidth=0, background='8A8A8B', foreground='8A8A8B', padding=1), widget.Sep(linewidth=2, background='111212', foreground='111212', padding=1), widget.Image(filename="", margin_x=5), widget.Memory(fmt='{}', foreground='c55050'), widget.Sep(linewidth=10, background='111212', foreground='111212', padding=1), widget.Sep(linewidth=0, background='8A8A8B', foreground='8A8A8B', padding=1), widget.Sep(linewidth=2, background='111212', foreground='111212', padding=1), widget.Image(filename="", margin_x=5), widget.CPU(fmt='{}', foreground='EB9B30'), ], 24, opacity=1.00, background='111212', )
background = colors[1] ), widget.Sep( linewidth = 0, padding = 30, foreground = colors[4], background = colors[0] ), widget.WindowName( padding = 0, foreground = colors[7], ), widget.Chord( padding = 0, chords_colors={ 'launch': (colors[11][0], colors[4][0]), }, name_transform=lambda name: name.upper(), ), widget.Sep( linewidth = 0, padding = 30, foreground = colors[4], background = colors[0] ), widget.Net( padding = 0, interface = "wlp4s0", format = '{down} ↓↑ {up}', foreground = colors[12], update_interval = 5