Exemple #1
0
def init_widgets_list():
    label_font_size = 14
    widget_font_size = 12
    prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
    widgets_list = [
        widget.Sep(
            linewidth=0,
            padding=6,
            foreground=colors[1],
        ),
        widget.GroupBox(
            font="Source Code Pro",
            fontsize=10,
            margin_y=5,
            margin_x=0,
            padding_y=5,
            padding_x=5,
            borderwidth=3,
            active=colors[3],
            inactive=colors[5],
            highlight_color=colors[0],
            rounded=True,
            highlight_method="line",
            this_current_screen_border=colors[1],
            this_screen_border=colors[9],
            other_current_screen_border=colors[5],
            other_screen_border=colors[4],
            foreground=colors[2],
        ),
        widget.Prompt(prompt=prompt,
                      font="Noto Sans Mono Regular",
                      fontsize=widget_font_size,
                      padding=10,
                      foreground=colors[3],
                      background=colors[1]),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text=" Layout:",
                       foreground=colors[8],
                       fontsize=label_font_size),
        widget.CurrentLayout(
            fontsize=widget_font_size,
            foreground=colors[6],
        ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.WindowName(
            font="Noto Sans Mono Regular",
            fontsize=widget_font_size,
            foreground=colors[6],
        ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.Systray(),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text="CPU:",
                       foreground=colors[8],
                       fontsize=label_font_size),
        widget.CPU(
            font="Noto Sans Mono Regular",
            fontsize=widget_font_size,
            foreground=colors[6],
        ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text="Mem.:",
                       foreground=colors[8],
                       fontsize=label_font_size),
        widget.Memory(
            font="Noto Sans Mono Regular",
            fontsize=widget_font_size,
            foreground=colors[6],
        ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text="Net:",
                       foreground=colors[8],
                       fontsize=label_font_size),
        widget.Net(
            font="Noto Sans Mono Regular",
            fontsize=widget_font_size,
            interface="enp27s0",
            foreground=colors[6],
        ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text="Vol.:",
                       foreground=colors[8],
                       fontsize=label_font_size),
        widget.Volume(
            font="Noto Sans Mono Regular",
            fontsize=widget_font_size,
            foreground=colors[6],
        ),
        #widget.Sep(
        #         linewidth = 2,
        #         padding = 10,
        #         foreground = colors[1],
        #         background = colors[0]
        #         ),
        #widget.TextBox(
        #         font="Noto Sans Bold",
        #         text=" ♫",
        #         padding = 5,
        #         foreground=colors[8],
        #         background=colors[0],
        #         fontsize=14
        #         ),
        #widget.Cmus(
        #         max_chars = 40,
        #         update_interval = 0.5,
        #         foreground=colors[6],
        #         background = colors[0]
        #         ),
        widget.Sep(
            linewidth=2,
            padding=10,
            foreground=colors[1],
        ),
        widget.TextBox(font="Noto Sans Mono Bold",
                       text="T:",
                       foreground=colors[8],
                       padding=5,
                       fontsize=label_font_size),
        widget.Clock(font="Noto Sans Mono Bold",
                     fontsize=widget_font_size,
                     foreground=colors[6],
                     format="%A, %B %d - %H:%M"),
        widget.Sep(
            linewidth=2,
            padding=5,
            foreground=colors[1],
        ),
        #        widget.GroupBox(foreground=theme["text"],
        #            active=theme["text"],
        #            inactive=theme["text_unfocus"],
        #            background=theme["background"],
        #            this_current_screen_border=theme["focus"],
        #            this_screen_border=theme["normal"],
        #            other_current_screen_border=theme["other_focus"]),
        #        widget.Prompt(),
        #        # widget.WindowName(),
        #        widget.Spacer(length=bar.STRETCH),
        #        widget.Systray(),
        #        widget.TextBox("🕑", foreground=theme["foreground"]),
        #        widget.Clock(format='%Y-%m-%d %a %H:%M', foreground=theme["foreground"]),
    ]

    return widgets_list
Exemple #2
0
# global font options
widget_defaults = dict(
    font='Consolas',
    fontsize=18,
    padding=3,
)

if num_screens[hostname] == 2:
    screens = [
        Screen(top=bar.Bar(
            [
                widget.GroupBox(urgent_alert_method='text', **widget_defaults),
                widget.Prompt(**widget_defaults),
                widget.WindowName(**widget_defaults),
                widget.Mpris(**widget_defaults),
                widget.Volume(**widget_defaults),
            ],
            30,
        ), ),
        Screen(top=bar.Bar(
            [
                widget.GroupBox(urgent_alert_method='text', **widget_defaults),
                widget.WindowName(**widget_defaults),
                widget.Systray(**widget_defaults),
                widget.Clock('%Y-%m-%d %a %I:%M %p', **widget_defaults),
            ],
            30,
        ), ),
    ]
else:
    # 1 screen
Exemple #3
0
     ],
     24,
 ),
 bottom=bar.Bar(
     [
         widget.TextBox(
             '🎵',
             foreground='#C7CCD1',
         ),
         widget.Mpd2(foreground='#95AEC7', ),
         widget.TextBox(
             '🔊',
             foreground='#C7CCD1',
             font='JoyPixels',
         ),
         widget.Volume(foreground='#C795AE', ),
         widget.TextBox(
             '🔆',
             font='JoyPixels',
             foreground='#C795AE',
         ),
         widget.Backlight(backlight_name='intel_backlight', ),
         widget.Spacer(width=bar.STRETCH),
         widget.Net(
             interface='wlp4s0',
             foreground='#95AEC7',
         ),
         widget.TextBox(
             'Harddisk:',
             foreground='#C7AE95',
         ),
Exemple #4
0
            #     ),
            widget.HDDBusyGraph(background=color['transparent'], ),
        ],
        text_closed=' ',
        text_open=' ',
        fontsize='26',
        background=color['transparent'],
        foreground=color['click'],
    ),
    widget.CheckUpdates(
        display_format=' :{updates} ',
        background=color['transparent'],
    ),
    widget.Cmus(background=color['transparent'], ),
    widget.Volume(fmt=':{} ',
                  background=color['transparent'],
                  foreground=color['scroll']),
    widget.Wallpaper(
        fmt=' ',
        background=color['transparent'],
        foreground=color['click'],
    ),
    # widget.TaskList(highlight_method='border', background=color['transparent'],),
    widget.Clock(background=color['transparent'], format='%Y-%m-%d %H:%M'),
    # widget.QuickExit(default_text='蘆 ', foreground=color['click'],),
]

screens = [
    Screen(top=bar.Bar(transparent, 28, background="#000000.1",
                       opacity=0.6), ),
]
Exemple #5
0
#                    ),
#                widget.CurrentLayoutIcon(
#                    background = colors[5],
#                    foreground = fgcolor,
#                    scale = 0.7,
#                    padding = 8,
#                    ),
#                widget.CurrentLayout(
#                    background = colors[5],
#                    foreground = fgcolor,
#                    padding = 5,
#                    ),
                widget.Volume(
                    emoji = False,
                    background = colors[6],
                    foreground = fgcolor,
                    fmt = '墳 {}',
                    padding = 8,
                    update_interval = 0.05,
                    ),
                widget.Clock(
                    format=' %d/%m/%y  %H:%M',
                    background = colors[7],
                    foreground = fgcolor,
                    padding = 9,
                    ),
            ],
            24,
            margin = [4, 6, 1, 6],
            opacity = 0.85,
        ),
        bottom=bar.Bar(
Exemple #6
0
                    padding_x=5,
                    padding_y=5,
                    highlight_method="block",
                    inactive=colors["bright"]["black"],
                    rounded=False,
                    this_current_screen_border=colors["normal"]["blue"],
                    foreground=colors["normal"]["red"],
                    background=colors["primary"]["background"]),
                widget.WindowName(foreground=colors["bright"]["magenta"], ),
                widget.Clock(format='%A, %b %d %H:%M'),
                widget.Spacer(),
                widget.Notify(default_timeout=2, ),
                widget.Systray(icon_size=24),
                widget.Pacman(),
                widget.Volume(
                    # padding = 100,
                    # theme_path="/usr/share/icons/Parpirus-Dark",
                ),
                # widget.CapsNumLockIndicator(),
                widget.CurrentLayout(padding=10, ),
            ],
            35,
        ), ),
]

# Drag floating layouts.
mouse = [
    Drag([mod],
         "Button1",
         lazy.window.set_position_floating(),
         start=lazy.window.get_position()),
    Drag([mod],
Exemple #7
0
def init_widgets_list():
    widgets_list = [
              widget.Sep(
                       linewidth = 0,
                       padding = 6,
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.Image(
                       filename = "~/.config/qtile/icons/python.png",
                       mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn('dmenu_run')}
                       ),
              widget.GroupBox(
                       font = "Ubuntu Bold",
                       fontsize = 9,
                       margin_y = 3,
                       margin_x = 0,
                       padding_y = 5,
                       padding_x = 3,
                       borderwidth = 3,
                       active = colors[2],
                       inactive = colors[2],
                       rounded = False,
                       highlight_color = colors[1],
                       highlight_method = "line",
                       this_current_screen_border = colors[3],
                       this_screen_border = colors [4],
                       other_current_screen_border = colors[0],
                       other_screen_border = colors[0],
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.Prompt(
                       prompt = prompt,
                       font = "Ubuntu Mono",
                       padding = 10,
                       foreground = colors[3],
                       background = colors[1]
                       ),
              widget.Sep(
                       linewidth = 0,
                       padding = 40,
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.WindowName(
                       foreground = colors[6],
                       background = colors[0],
                       padding = 0
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[0],
                       foreground = colors[4],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.TextBox(
                       text = " â‚¿",
                       padding = 0,
                       foreground = colors[2],
                       background = colors[4],
                       fontsize = 12
                       ),
              widget.BitcoinTicker(
                       foreground = colors[2],
                       background = colors[4],
                       padding = 5
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[4],
                       foreground = colors[5],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.TextBox(
                       text = " 🌡",
                       padding = 2,
                       foreground = colors[2],
                       background = colors[5],
                       fontsize = 11
                       ),
              widget.ThermalSensor(
                       foreground = colors[2],
                       background = colors[5],
                       threshold = 90,
                       padding = 5
                       ),
              widget.TextBox(
                       text='',
                       background = colors[5],
                       foreground = colors[4],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.TextBox(
                       text = " ⟳",
                       padding = 2,
                       foreground = colors[2],
                       background = colors[4],
                       fontsize = 14
                       ),
              widget.Pacman(
                       update_interval = 1800,
                       foreground = colors[2],
                       mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn(myTerm + ' -e sudo pacman -Syu')},
                       background = colors[4]
                       ),
              widget.TextBox(
                       text = "Updates",
                       padding = 5,
                       mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn(myTerm + ' -e sudo pacman -Syu')},
                       foreground = colors[2],
                       background = colors[4]
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[4],
                       foreground = colors[5],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.TextBox(
                       text = " 🖬",
                       foreground = colors[2],
                       background = colors[5],
                       padding = 0,
                       fontsize = 14
                       ),
              widget.Memory(
                       foreground = colors[2],
                       background = colors[5],
                       mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn(myTerm + ' -e htop')},
                       padding = 5
                       ),
              widget.TextBox(
                       text='',
                       background = colors[5],
                       foreground = colors[4],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.Net(
                       interface = "enp6s0",
                       format = '{down} ↓↑ {up}',
                       foreground = colors[2],
                       background = colors[4],
                       padding = 5
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[4],
                       foreground = colors[5],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.TextBox(
                      text = " Vol:",
                       foreground = colors[2],
                       background = colors[5],
                       padding = 0
                       ),
              widget.Volume(
                       foreground = colors[2],
                       background = colors[5],
                       padding = 5
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[5],
                       foreground = colors[4],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.CurrentLayoutIcon(
                       custom_icon_paths = [os.path.expanduser("~/.config/qtile/icons")],
                       foreground = colors[0],
                       background = colors[4],
                       padding = 0,
                       scale = 0.7
                       ),
              widget.CurrentLayout(
                       foreground = colors[2],
                       background = colors[4],
                       padding = 5
                       ),
              widget.TextBox(
                       text = '',
                       background = colors[4],
                       foreground = colors[5],
                       padding = 0,
                       fontsize = 37
                       ),
              widget.Clock(
                       foreground = colors[2],
                       background = colors[5],
                       format = "%A, %B %d  [ %H:%M ]"
                       ),
              widget.Sep(
                       linewidth = 0,
                       padding = 10,
                       foreground = colors[0],
                       background = colors[5]
                       ),
              widget.Systray(
                       background = colors[0],
                       padding = 5
                       ),
              ]
    return widgets_list
Exemple #8
0
    padding=3,
)

inoffensive_green = '339966'

if num_screens[hostname] == 2:
    screens = [
        Screen(top=bar.Bar(
            [
                widget.GroupBox(urgent_alert_method='text',
                                this_current_screen_border=inoffensive_green,
                                **widget_defaults),
                widget.Prompt(**widget_defaults),
                widget.Spacer(),
                widget.Mpris(**widget_defaults),
                widget.Volume(**widget_defaults),
            ],
            30,
        ), ),
        Screen(top=bar.Bar(
            [
                widget.GroupBox(urgent_alert_method='text',
                                this_current_screen_border=inoffensive_green,
                                **widget_defaults),
                widget.Clipboard(
                    timeout=None, width=bar.STRETCH, max_width=None),
                widget.BitcoinTicker(format="BTC: {avg}", **widget_defaults),
                widget.Systray(**widget_defaults),
                widget.Clock(
                    format='%H:%M UTC', timezone='UTC', **widget_defaults),
                widget.Clock(format='%Y-%m-%d %a %I:%M %p', **widget_defaults),
Exemple #9
0
def powerline_base():
    return [
        widget.CurrentLayoutIcon(
            **current_layout_icon,
        ),
        widget.Image(
            filename=img['middle-red']
        ),
        widget.CurrentLayout(
            **base(bg='fg3'),
            **current_layout
        ),
        widget.Image(
            filename=img['s-green']
        ),
        widget.Image(
            filename=img['bg-green']
        ),
        widget.TextBox(
            **base(bg='green'),
            **text_box,
            text=''
        ),
        widget.Image(
            filename=img['middle-green']
        ),
        widget.Pomodoro(
            **pomodoro
        ),
        widget.Image(
            filename=img['s-yellow']
        ),
        widget.Image(
            filename=img['bg-yellow']
        ),
        widget.TextBox(
            **base(bg='yellow'),
            fontsize=21,
            padding=7,
            text='',
        ),
        widget.Image(
            filename=img['fg-yellow']
        ),
        widget.Clock(
            **base(bg='fg3'),
            **clock,
        ),
        widget.Image(
            filename=img['test1']
        ),
        widget.Image(
            filename=img['bg-blue']
        ),
        widget.Volume(
            **base(bg='blue'),
            **volume_icon
        ),
        widget.Image(
            filename=img['fg-blue']
        ),
        widget.Volume(
            **base(bg='fg3'),
            padding=5,
        )
    ]
Exemple #10
0
        ),
        widget.Systray(padding=5),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.Net(interface="enp0s3",
                   format='{down} ↓↑ {up}',
                   padding=5,
                   foreground='#cc6666'),
        widget.Memory(mouse_callbacks={
            'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')
        },
                      padding=5,
                      foreground='#b5bd68'),
        widget.Volume(padding=5, foreground='#f0c674'),
        widget.Clock(format="%A, %B %d - %H:%M ", foreground='#81a2be'),
    ],
                       size=24))
]

# Drag floating layouts.
mouse = [
    Drag([mod],
         "Button1",
         lazy.window.set_position_floating(),
         start=lazy.window.get_position()),
    Drag([mod],
         "Button3",
         lazy.window.set_size_floating(),
         start=lazy.window.get_size()),
Exemple #11
0
                    width=30,
                    border_width=1,
                    border_color="#000000",
                    line_width=1,
                    frequency=5,
                    fill_color="EEE8AA"),
 widget.Battery(
     font="Iosevka Bold",
     fontsize=14,
     discharge_char='↓',
     charge_char='↑',
     format='{char} {hour:d}:{min:02d}',
     # foreground=YELLOW,
     # low_foreground=RED
 ),
 widget.Volume(
     font="Iosevka Bold", fontsize=14, update_interval=2),
 widget.Clock(
     font="Iosevka Bold",
     fontsize=14,
     format='%a %d-%m-%y %H:%M',
 ),
 widget.Systray(
     font="Iosevka Bold",
     fontsize=14,
 ),
 widget.KeyboardLayout(
     configured_keyboards=['us', 'ru'],
     display_map={
         'us': 'us ',
         'ru': 'ru ',
     },
Exemple #12
0
def make_widget_list():
    widget_list = [
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[2],
                   background=colors[0]),
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[2],
                   background=colors[0]),
        widget.GroupBox(font="Ubuntu Bold",
                        margin_y=3,
                        margin_x=0,
                        padding_y=5,
                        padding_x=3,
                        borderwidth=3,
                        active=colors[2],
                        inactive=colors[2],
                        rounded=False,
                        highlight_color=colors[1],
                        highlight_method="line",
                        this_current_screen_border=colors[6],
                        this_screen_border=colors[4],
                        other_current_screen_border=colors[6],
                        other_screen_border=colors[4],
                        foreground=colors[2],
                        background=colors[0]),
        widget.Sep(linewidth=0,
                   padding=40,
                   foreground=colors[2],
                   background=colors[0]),
        widget.WindowName(fontsize=20,
                          foreground=colors[6],
                          background=colors[0],
                          padding=0),
        widget.Systray(background=colors[0], padding=5),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.TextBox(
            text=" 🌡",
            padding=2,
            foreground=colors[10],
            background=colors[5],
        ),
        widget.ThermalSensor(foreground=colors[10],
                             background=colors[5],
                             threshold=90,
                             padding=5),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.TextBox(
            text=" 🖬",
            foreground=colors[10],
            background=colors[4],
            padding=0,
        ),
        widget.Memory(foreground=colors[10],
                      background=colors[4],
                      mouse_callbacks={
                          'Button1':
                          lambda: qtile.cmd_spawn(terminal + ' -e htop')
                      },
                      padding=5,
                      measure_mem='G'),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.Battery(foreground=colors[10],
                       background=colors[5],
                       padding=5,
                       discharge_char="discharging: ",
                       charge_char="charging: ",
                       empty_char="empty: ",
                       format='{char}{percent:2.0%}'),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.TextBox(text=" Vol:",
                       foreground=colors[10],
                       background=colors[4],
                       padding=0),
        widget.Volume(foreground=colors[10], background=colors[4], padding=5),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            foreground=colors[10],
            background=colors[5],
            padding=0,
            scale=0.7),
        widget.CurrentLayout(foreground=colors[10],
                             background=colors[5],
                             padding=5),
        widget.Sep(linewidth=0,
                   padding=8,
                   foreground=colors[0],
                   background=colors[0]),
        widget.Clock(foreground=colors[10],
                     background=colors[4],
                     format="%A, %B %d - %H:%M "),
    ]
    return widget_list
Exemple #13
0
                    inactive=theme_colors["fg"],
                    highlight_method="block",
                    this_current_screen_border=theme_colors["g"],
                    block_highlight_text_color=theme_colors["bg"],
                    urgent_border=theme_colors["r"],
                    urgent_text=theme_colors["bg"],
                    ),
                widget.Sep(),
                widget.CurrentLayout(padding=10, foreground=theme_colors["r"]),
                widget.Prompt(),
                #widget.WindowName(),
                widget.Spacer(),
                #widget.TextBox("oof config", name="default"),
                widget.Systray(),
                widget.Sep(linewidth=0, padding=10),
                widget.Volume(foreground=theme_colors["b"]),
                widget.Clock(format='%d-%m-%y %a %H:%M:%S'),
                #widget.QuickExit(),
            ],
            32,
            margin=[5,5,5,5],
            #opacity=0.8,
        ),
        bottom=bar.Gap(5),
        left=bar.Gap(5),
        right=bar.Gap(5),
        wallpaper='~/wallpaper/ff.jpg',
        wallpaper_mode='fill',
    ),
]
Exemple #14
0
                widget.Systray(
                ),
                widget.Spacer(
                    length=5,
                    width=None
                ),
                widget.Sep(**sep_common),

                widget.TextBox(
                    text='',
                    width=bar.CALCULATED,
                    foreground=colors['m'],
                    fontsize=18
                ),
                widget.Volume(
                    foreground=colors['m']
                ),
                widget.Sep(**sep_common),

                widget.CheckUpdates(
                    colour_have_updates=colors['S'],
                    colour_no_updates=colors['m'],
                    display_format='Pacman: {updates}'
                ),
                widget.Sep(**sep_common),

                widget.TextBox(
                    text='',
                    width=bar.CALCULATED,
                    foreground=colors['m'],
                    fontsize=18
Exemple #15
0
def init_widgets_list():
    widgets_list = [
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[2],
                   background=colors[0]),
        widget.TextBox(
            #foreground = darkText,
            background=colors[0],
            text="⏻",
            mouse_callbacks={
                'Button1': lambda qtile: qtile.cmd_spawn("shutdown-dialog")
            }),
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[2],
                   background=colors[0]),
        widget.GroupBox(font="Ubuntu Bold",
                        fontsize=9,
                        margin_y=3,
                        margin_x=0,
                        padding_y=5,
                        padding_x=3,
                        borderwidth=3,
                        active=colors[2],
                        inactive=colors[2],
                        rounded=False,
                        highlight_color=colors[1],
                        highlight_method="line",
                        this_current_screen_border=colors[3],
                        this_screen_border=colors[4],
                        other_current_screen_border=colors[0],
                        other_screen_border=colors[0],
                        foreground=colors[2],
                        background=colors[0]),
        widget.Prompt(prompt=prompt,
                      font="Ubuntu Mono",
                      padding=10,
                      foreground=colors[3],
                      background=colors[1]),
        widget.Sep(linewidth=0,
                   padding=40,
                   foreground=colors[2],
                   background=colors[0]),
        widget.WindowName(foreground=colors[5],
                          background=colors[0],
                          padding=0),
        widget.TextBox(text='◥',
                       background=colors[0],
                       foreground=colors[6],
                       fontsize=60,
                       width=27),
        widget.TextBox(text=" 🌡",
                       padding=2,
                       foreground=darkText,
                       background=colors[6],
                       fontsize=11),
        widget.ThermalSensor(foreground=darkText,
                             background=colors[6],
                             threshold=90,
                             padding=5),
        widget.TextBox(text='◥',
                       background=colors[6],
                       foreground=colors[7],
                       fontsize=60,
                       width=27),
        widget.TextBox(text=" 🖬",
                       foreground=darkText,
                       background=colors[7],
                       padding=0,
                       fontsize=14),
        widget.Memory(foreground=darkText,
                      background=colors[7],
                      mouse_callbacks={
                          'Button1':
                          lambda qtile: qtile.cmd_spawn(myTerm + ' -e htop')
                      },
                      padding=5),
        widget.TextBox(text='◥',
                       background=colors[7],
                       foreground=colors[8],
                       fontsize=60,
                       width=27),
        widget.Net(interface="enp34s0",
                   format='{down} ↓↑ {up}',
                   foreground=darkText,
                   background=colors[8],
                   padding=5),
        widget.TextBox(text='◥',
                       background=colors[8],
                       foreground=colors[9],
                       fontsize=60,
                       width=27),
        widget.TextBox(text=" Vol:",
                       foreground=darkText,
                       background=colors[9],
                       padding=0),
        widget.Volume(foreground=darkText, background=colors[9], padding=5),
        widget.TextBox(text='◥',
                       background=colors[9],
                       foreground=colors[10],
                       fontsize=60,
                       width=27),
        widget.TextBox(text=" ☐",
                       foreground=darkText,
                       background=colors[10],
                       padding=0),
        widget.CurrentLayout(foreground=darkText,
                             background=colors[10],
                             padding=5),
        widget.TextBox(text='◥',
                       background=colors[10],
                       foreground=colors[11],
                       fontsize=60,
                       width=27),
        widget.Clock(foreground=darkText,
                     background=colors[11],
                     padding=5,
                     format="%A, %B %d  [ %H:%M ]"),
        widget.Systray(background=colors[11], padding=5),
    ]
    return widgets_list
Exemple #16
0
                             format='%A, %B %d [ %H:%M ]'),
                widget.Sep(linewidth=0,
                           padding=10,
                           foreground=colors[0],
                           background=colors[5]),
                #widget.BatteryIcon(),
                widget.TextBox(
                    foreground=colors[2], background=colors[5], text="\uf578"),
                widget.Battery(foreground=colors[2],
                               background=colors[5],
                               format="{percent:2.0%}"),
                widget.Sep(linewidth=0,
                           padding=10,
                           foreground=colors[0],
                           background=colors[5]),
                widget.Volume(
                    foreground=colors[2], background=colors[5], padding=5),
                #widget.QuickExit(),
            ],
            24,
        ), ),
]

# Drag floating layouts.
mouse = [
    Drag([mod],
         "Button1",
         lazy.window.set_position_floating(),
         start=lazy.window.get_position()),
    Drag([mod],
         "Button3",
         lazy.window.set_size_floating(),
Exemple #17
0
         lambda qtile: qtile.cmd_spawn(myTerm + ' -e bashtop')
     }),
 widget.TextBox(text='',
                background="#546E7A",
                foreground="#455A64",
                padding=0,
                fontsize=20),
 widget.TextBox(text="  ",
                background="#455A64",
                fontsize=20,
                mouse_callbacks={
                    'Button1':
                    lambda qtile: qtile.cmd_spawn('pavucontrol')
                }),
 widget.Volume(
     foreground="#ffffff",
     background="#455A64",
 ),
 widget.TextBox(text='',
                background="#455A64",
                foreground="#37474F",
                padding=0,
                fontsize=20),
 widget.TextBox(
     text='',
     background="#37474F",
     foreground="#ffffff",
     padding=0,
     fontsize=20,
     mouse_callbacks={
         'Button1':
         lambda qtile: qtile.cmd_spawn(myTerm + ' -e bashtop')
Exemple #18
0
def powerline_base():
    return [
        widget.CurrentLayoutIcon(
            **current_layout_icon,
        ),
        widget.Image(
            filename=img['redi']
        ),
        widget.CurrentLayout(
            **base(bg='fg3'),
            **current_layout
        ),
        widget.Image(
            filename=img['greenf']
        ),
        widget.TextBox(
            **base(bg='green'),
            fontsize=19,
            padding=5,
            text=''
        ),
        widget.Sep(**separator(pd=6),
            **base(bg='green')),
        widget.Image(
            filename=img['greeni']
        ),
        widget.Pomodoro(
            **pomodoro
        ),
        widget.Image(
            filename=img['yellowf']
        ),
        widget.TextBox(
            **base(bg='yellow'),
            fontsize=20,
            padding=5,
            text='',
        ),
        widget.Sep(**separator(),
            **base(bg='yellow')),
        widget.Image(
            filename=img['yellowi']
        ),
        widget.Sep(**separator(pd=6),
            **base(bg='fg3')),
        widget.Clock(
            **base(bg='fg3'),
            **clock,
        ),
        widget.Image(
            filename=img['bluef']
        ),
        widget.Volume(
            **base(bg='blue'),
            **volume_icon
        ),
        widget.Sep(**separator(pd=4),
            **base(bg='blue')),
        widget.Image(
            filename=img['bluei']
        ),
        widget.Volume(
            **base(bg='fg3'),
            padding=5,
            font= 'Fira Mono Medium',
        ),
        widget.Sep(**separator(pd=3),
            **base(bg='fg3')),
    ]
Exemple #19
0
def init_widgets_list():
    widgets_list = [
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[2],
                   background=colors[0]),
        widget.GroupBox(font="Ubuntu Bold",
                        fontsize=9,
                        margin_y=3,
                        margin_x=0,
                        padding_y=5,
                        padding_x=5,
                        borderwidth=3,
                        active=colors[2],
                        inactive=colors[2],
                        rounded=False,
                        highlight_color=colors[1],
                        highlight_method="line",
                        this_current_screen_border=colors[3],
                        this_screen_border=colors[4],
                        other_current_screen_border=colors[0],
                        other_screen_border=colors[0],
                        foreground=colors[2],
                        background=colors[0]),
        widget.Prompt(prompt=prompt,
                      font="Ubuntu Mono",
                      padding=10,
                      foreground=colors[3],
                      background=colors[1]),
        widget.Sep(linewidth=0,
                   padding=40,
                   foreground=colors[2],
                   background=colors[0]),
        widget.WindowName(foreground=colors[6],
                          background=colors[0],
                          padding=0),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text=" 🌡",
                       padding=2,
                       foreground=colors[2],
                       background=colors[5],
                       fontsize=11),
        widget.ThermalSensor(foreground=colors[2],
                             background=colors[5],
                             padding=5),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text=" ⟳",
                       padding=2,
                       foreground=colors[2],
                       background=colors[4],
                       fontsize=14),
        widget.Pacman(execute="alacritty",
                      update_interval=1800,
                      foreground=colors[2],
                      background=colors[4]),
        widget.TextBox(text="Updates",
                       padding=5,
                       foreground=colors[2],
                       background=colors[4]),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text=" 🖬",
                       foreground=colors[2],
                       background=colors[5],
                       padding=0,
                       fontsize=14),
        widget.Memory(foreground=colors[2], background=colors[5], padding=5),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.Net(interface="enp6s0",
                   format='{down} ↓↑ {up}',
                   foreground=colors[2],
                   background=colors[4],
                   padding=5),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text=" Vol:",
                       foreground=colors[2],
                       background=colors[5],
                       padding=0),
        widget.Volume(foreground=colors[2], background=colors[5], padding=5),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            foreground=colors[0],
            background=colors[4],
            padding=0,
            scale=0.7),
        widget.CurrentLayout(foreground=colors[2],
                             background=colors[4],
                             padding=5),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.Clock(foreground=colors[2],
                     background=colors[5],
                     format="%A, %B %d  [ %H:%M ]"),
        widget.Sep(linewidth=0,
                   padding=10,
                   foreground=colors[0],
                   background=colors[5]),
        widget.Systray(background=colors[0], padding=5),
    ]
    return widgets_list
Exemple #20
0
 widget.CheckUpdates(
     fontsize=FONT_SIZE,
     display_format=" {updates}",
     font="font-logos",
     colour_have_updates=ALERT_COLOR,
     #padding=15
 ),
 widget.Spacer(length=10),
 widget.Sep(),
 widget.Spacer(length=10),
 widget.TextBox(font="font-awesome",
                text=(""),
                fontsize=FONT_SIZE,
                padding=0),
 widget.Spacer(length=5),
 widget.Volume(fontsize=FONT_SIZE, update_interval=2),
 widget.Spacer(length=10),
 widget.Sep(),
 widget.Spacer(length=10),
 widget.TextBox(font="font-awesome",
                text=(""),
                fontsize=FONT_SIZE,
                padding=0),
 widget.ThermalSensor(fontsize=FONT_SIZE, ),
 widget.Spacer(length=10),
 widget.Sep(),
 widget.Spacer(length=10),
 widget.TextBox(font="font-awesome",
                text=(""),
                fontsize=FONT_SIZE,
                padding=0),
Exemple #21
0
                text=u"]",
                background=black,
                foreground=white,
                padding=0
            ),
            widget.TextBox("C", background=black, foreground=white),
            widget.CPUGraph(border_width=0, line_width=1, background=black),

            widget.TextBox("M", background=black, foreground=white),
            widget.MemoryGraph(border_width=0, line_width=1, background=black),

            # widget.TextBox('B:', background=orange, foreground=black),
            widget.Battery(background=orange, foreground=black),

            # widget.TextBox('V:', background=l_green, foreground=black),
            widget.Volume(background=l_green, foreground=black),

            # widget.LaunchBar(progs=('chrome', 'google-chrome-stable', 'logout from qtile'))

            widget.Clock(
                format=u'%m-%d %H:%M',
                background=m_purple,
                foreground=black
            ),
            widget.Systray(
                background=black
            ),
        ], 25)

screens = [Screen(top=main_bar), Screen(), Screen()]
Exemple #22
0
def init_widgets_list():
    widgets_list = [
              widget.CurrentLayout(
                       foreground = colors[2],
                       background = colors[4],
                       padding = 5
                       ),
              widget.GroupBox(
                       font = "Blex Mono Nerd Font",
                       fontsize = 9,
                       margin_y = 3,
                       margin_x = 0,
                       padding_y = 5,
                       padding_x = 3,
                       borderwidth = 3,
                       active = colors[2],
                       inactive = colors[2],
                       rounded = False,
                       highlight_color = colors[1],
                       highlight_method = "line",
                       this_current_screen_border = colors[3],
                       this_screen_border = colors [4],
                       other_current_screen_border = colors[0],
                       other_screen_border = colors[0],
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.Prompt(
                       # prompt = prompt,
                       font = "Blex Mono Nerd Font",
                       padding = 10,
                       foreground = colors[3],
                       background = colors[1]
                       ),
              widget.Sep(
                       linewidth = 0,
                       padding = 40,
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.WindowName(
                       foreground = colors[2],
                       background = colors[0],
                       padding = 0
                       ),
              widget.Sep(
                       linewidth = 0,
                       padding = 40,
                       foreground = colors[2],
                       background = colors[0]
                       ),
              widget.TextBox(
                      text = "[",
                       foreground = colors[2],
                       background = colors[5],
                       padding = 0
                       ),
              widget.Volume(
                       foreground = colors[2],
                       background = colors[5],
                       padding = 5
                       ),
              widget.TextBox(
                      text = "]",
                       foreground = colors[2],
                       background = colors[5],
                       padding = 0
                       ),
              widget.Clock(
                       foreground = colors[2],
                       background = colors[5],
                       format = "%A, %B %d  [ %H:%M ]"
                       ),
              widget.Sep(
                       linewidth = 0,
                       padding = 10,
                       foreground = colors[0],
                       background = colors[5]
                       ),
              widget.Systray(
                       background = colors[0],
                       padding = 5
                       )
              ]
    return widgets_list
Exemple #23
0
                #  fill_color='#FF5656',
                #  **Widget.graph),
                widget.NetGraph(graph_color='#ffff00',
                                fill_color='#4d4d00',
                                interface=NET_INTF,
                                **Widget.graph),
                # widget.HDDBusyGraph(device='sda', **Widget.graph),
                #  widget.HDDBusyGraph(device='sdb', **Widget.graph),
                widget.ThermalSensor(metric=True, threshold=79),
                widget.Sep(**Widget.sep),
                widget.CurrentLayout(),
                widget.Systray(**Widget.systray),
                widget.BatteryIcon(**Widget.battery),
                #widget.Battery(**Widget.battery_text),
                widget.Volume(
                    theme_path='/usr/share/icons/Humanity/status/22/',
                    cardid=1),
                #widget.YahooWeather(location='Beijing, CN', **Widget.weather),
                #widget.Wlan(interface='wls3'),
            ],
            **bar_defaults), ),
    Screen(
        top=bar.Bar(
            widgets=[
                widget.GroupBox(**Widget.groupbox),
                widget.WindowName(),
                widget.CurrentLayout(),
                #  Widget.Battery(),
            ],
            **bar_defaults), )
]
Exemple #24
0
                widget.Sep(),
                # widget.Wlan(interface="wlp3s0", format="{essid} {percent:2.0%}", foreground=fg_color),
                # widget.NetGraph(interface="wlp3s0", foreground=fg_color),
                widget.TextBox(text="/dev/sda:", foreground=fg_color),
                widget.HDDBusyGraph(fill_color=cursor_color,
                                    graph_color=bold_color,
                                    border_color=bg_color,
                                    foreground=fg_color),
                widget.Sep(),
                widget.KeyboardLayout(configured_keyboards=['us', 'ir'],
                                      foreground=fg_color),
                widget.Sep(),
                widget.Backlight(backlight_name="intel_backlight",
                                 format="☼ {percent: 2.0%}",
                                 foreground=fg_color),
                widget.Volume(emoji=True, foreground=fg_color),
                # widget.Battery(foreground=fg_color, charge_char=u'▲', discharge_char=u'▼', low_foreground=bold_color),
                # widget.BatteryIcon(),
                widget.Sep(),
                widget.Systray(icon_size=22, padding=7, foreground=fg_color),
                widget.Sep(),
                widget.Clock(format='%Y-%m-%d %a %I:%M %p',
                             foreground=fg_color),
            ],
            24,
            background=bg_color,
            opacity=20,
        ), ),
]

# Drag floating layouts.
Exemple #25
0
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("Press <M-r> to spawn", foreground="#d75f5f"),
		widget.Volume(),
                widget.BitcoinTicker(currency="USD"),
                widget.CPUGraph(samples=50),
                widget.MemoryGraph(samples=50),
		widget.Net(),
                widget.Systray(),
                widget.Clock(format='%Y-%m-%d %a %I:%M %p'),
                widget.QuickExit(),
            ],
            24,
        ),
    ),
]

# Drag floating layouts.
mouse = [
Exemple #26
0
def primary_bar():
    return bar.Bar(
        widgets=[
            widget.CurrentLayoutIcon(
                custom_icon_paths=[
                    os.path.expanduser('~/.config/qtile/icons')
                ],
                scale=0.66,
            ),
            widget.GroupBox(
                padding_x=10,
                spacing=5,
                disable_drag=True,
                use_mouse_wheel=False,
                background=palette[1],
                inactive=palette[3],
                highlight_color=palette[10],
                highlight_method='line',
                this_current_screen_border=palette[13],
                other_current_screen_border=palette[13],
                this_screen_border=palette[10],
                other_screen_border=palette[10],
            ),
            widget.CurrentScreen(active_color=palette[14],
                                 active_text='\uF62E',
                                 inactive_color=palette[11],
                                 inactive_text='\uF62F'),
            widget.WindowName(for_current_screen=True),
            widget.GenPollText(func=mpris,
                               update_interval=1,
                               mouse_callbacks={'Button1': play_toggle}),
            separator(palette[10], palette[1]),
            widget.Systray(background=palette[10], icon_size=32, padding=10),
            separator(palette[9], palette[10]),
            widget.GenPollText(func=weather,
                               update_interval=1200,
                               mouse_callbacks={'Button1': weather},
                               background=palette[9]),
            separator(palette[10], palette[9]),
            # widget.GenPollText(func=memory_usage,
            #                    update_interval=1,
            #                    background=palette[10]),
            # separator(palette[9], palette[10]),
            # widget.CPU(format='\uF9C4 {load_percent}%', background=palette[9]),
            # separator(palette[10], palette[9]),
            widget.TextBox(text='\uF027', background=palette[10]),
            widget.Volume(step=5, background=palette[10]),
            separator(palette[9], palette[10]),
            widget.Battery(battery=1,
                           format='{char} {percent:2.0%}',
                           charge_char='\uF583',
                           discharge_char='\uF57D',
                           full_char='\uF578',
                           empty_char='\uF58D',
                           unknown_char='\uF578',
                           update_interval=1,
                           background=palette[9]),
            separator(palette[10], palette[9]),
            widget.Clock(format='\uF5ED %a %b %d',
                         background=palette[10],
                         mouse_callbacks={'Button1': open_calendar}),
            separator(palette[9], palette[10]),
            widget.Clock(format='\uF017 %I:%M %p', background=palette[9]),
            separator(palette[1], palette[9]),
        ],
        size=36,
        background=palette[1],
    )
Exemple #27
0
screens = [
    Screen(top=bar.Bar(
        [
            # This is a list of our virtual desktops.
            widget.GroupBox(
                urgent_alert_method='text', fontsize=10, borderwidth=1),

            # A prompt for spawning processes or switching groups. This will be
            # invisible most of the time.
            widget.Prompt(),
            # Current window name.
            widget.WindowName(foreground="a0a0a0", ),
            widget.Notify(),
            widget.Systray(),
            widget.Volume(foreground="70ff70"),
            widget.Battery(
                energy_now_file='charge_now',
                energy_full_file='charge_full',
                power_now_file='current_now',
                update_delay=5,
                foreground="7070ff",
            ),
            widget.Systray(),
            widget.Clock(foreground="a0a0a0", fmt='%Y-%m-%d %a %I:%M %p'),
        ],
        22))  # our bar is (xx)px high
]


@hook.subscribe.client_new
Exemple #28
0
                fontsize=37),
 widget.Net(interface="enp2s0",
            format='{down} ↓↑ {up}',
            foreground=colors[0],
            background=colors[9],
            padding=5),
 widget.TextBox(text='',
                background=colors[9],
                foreground=colors[7],
                padding=0,
                fontsize=37),
 widget.TextBox(text=" Vol:",
                foreground=colors[0],
                background=colors[7],
                padding=0),
 widget.Volume(foreground=colors[0], background=colors[7], padding=5),
 widget.TextBox(text='',
                background=colors[7],
                foreground=colors[10],
                padding=0,
                fontsize=37),
 widget.CurrentLayout(foreground=colors[0],
                      background=colors[10],
                      padding=5),
 widget.TextBox(text='',
                background=colors[10],
                foreground=colors[9],
                padding=0,
                fontsize=37),
 widget.Battery(background=colors[9], foreground=colors[0], padding=5),
 widget.TextBox(text='',
Exemple #29
0
                },
                **base(colors[2], colors[4])),
 powerline(colors[5], colors[4]),
 widget.Battery(charge_char=" ",
                discharge_char="",
                empty_char="",
                full_char="",
                low_foreground=colors[6],
                notify_below=0.15,
                fontsize=14,
                format='{char} {percent:2.0%}',
                update_interval=1,
                **base(colors[2], colors[5])),
 powerline(colors[4], colors[5]),
 icon(colors[2], colors[4], 14, " "),
 widget.Volume(padding=5, fontsize=14, **base(colors[2], colors[4])),
 powerline(colors[5], colors[4]),
 widget.TextBox(text=" ",
                padding=2,
                fontsize=14,
                **base(colors[2], colors[5])),
 widget.Pacman(update_interval=1800,
               font="Ubuntu Bold",
               **base(colors[2], colors[5])),
 widget.TextBox(text="Updates",
                padding=5,
                font="Ubuntu Bold",
                **base(colors[2], colors[5])),
 powerline(colors[4], colors[5]),
 widget.Clock(format=" %A, %B %d  %H:%M ",
              font="Ubuntu Bold",
def init_widgets_list():
    widgets_list = [
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors[6],
                   background=colors[6]),
        widget.Image(filename="~/.config/qtile/icons/qtile.png",
                     mouse_callbacks={
                         'Button1': lambda qtile: qtile.cmd_spawn('dmenu_run')
                     },
                     background=colors[6],
                     foreground=colors[6]),
        widget.Sep(linewidth=0,
                   padding=10,
                   foreground=colors[2],
                   background=colors[6]),
        widget.GroupBox(font="Font Awesome 5 Free",
                        fontsize=14,
                        margin_y=3,
                        margin_x=0,
                        padding_y=5,
                        padding_x=3,
                        borderwidth=3,
                        active=colors[2],
                        inactive=colors[2],
                        rounded=False,
                        highlight_color=colors[3],
                        highlight_method="line",
                        this_current_screen_border=colors[3],
                        this_screen_border=colors[4],
                        other_current_screen_border=colors[0],
                        other_screen_border=colors[0],
                        foreground=colors[2],
                        background=colors[6]),
        widget.Prompt(prompt=prompt,
                      font="mononoki Nerd Font",
                      padding=10,
                      foreground=colors[3],
                      background=colors[1]),
        widget.Sep(linewidth=0,
                   padding=40,
                   foreground=colors[2],
                   background=colors[0]),
        widget.WindowName(foreground=colors[6],
                          background=colors[0],
                          font="JetBrains Mono Medium",
                          padding=0),
        # widget.Clipboard(
        #          background = colors[5],
        #          foreground = colors[2],
        #          max_width  = 15
        # ),
        widget.TextBox(text='',
                       font='Font Awesome 5 Free',
                       background=colors[0],
                       foreground=colors[5],
                       padding=0,
                       fontsize=48),
        widget.TextBox(text=" ",
                       font='Font Awesome 5 Free',
                       padding=2,
                       foreground=colors[2],
                       background=colors[5],
                       fontsize=15),
        widget.Memory(background=colors[5],
                      foreground=colors[2],
                      partition='/',
                      format='{MemUsed}M / {MemTotal}M'),
        widget.TextBox(text='',
                       background=colors[5],
                       font='Font Awesome 5 Free',
                       foreground=colors[4],
                       padding=0,
                       fontsize=48),
        widget.TextBox(text=" ",
                       foreground=colors[2],
                       background=colors[4],
                       font='Font Awesome 5 Free',
                       padding=0),
        widget.Volume(foreground=colors[2], background=colors[4], padding=5),
        widget.TextBox(text='',
                       background=colors[4],
                       font='Font Awesome 5 Free',
                       foreground=colors[5],
                       padding=0,
                       fontsize=48),
        widget.TextBox(text=" ",
                       font='Font Awesome 5 Free',
                       padding=2,
                       foreground=colors[2],
                       background=colors[5],
                       fontsize=10),
        widget.Pacman(
            update_interval=1800,
            foreground=colors[2],
            mouse_callbacks={
                'Button1':
                lambda qtile: qtile.cmd_spawn(myTerm + ' -e sudo pacman -Syu')
            },
            background=colors[5]),
        widget.TextBox(
            text="Updates",
            padding=5,
            mouse_callbacks={
                'Button1':
                lambda qtile: qtile.cmd_spawn(myTerm + ' -e sudo pacman -Syu')
            },
            foreground=colors[2],
            background=colors[5]),
        widget.TextBox(text='',
                       background=colors[5],
                       font='Font Awesome 5 Free',
                       foreground=colors[4],
                       padding=0,
                       fontsize=48),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            foreground=colors[0],
            background=colors[4],
            padding=0,
            scale=0.7),
        widget.CurrentLayout(foreground=colors[2],
                             background=colors[4],
                             padding=5),
        widget.TextBox(text='',
                       background=colors[4],
                       font='Font Awesome 5 Free',
                       foreground=colors[5],
                       padding=0,
                       fontsize=48),
        widget.Clock(foreground=colors[2],
                     background=colors[5],
                     mouse_callbacks={
                         'Button1':
                         lambda qtile: qtile.cmd_spawn(
                             '/home/va/.rofi/rofi-music-downloader')
                     },
                     format="%A, %B %d  [ %H:%M ]"),
        widget.Sep(linewidth=0,
                   padding=10,
                   foreground=colors[0],
                   background=colors[5]),
        widget.Systray(background=colors[5], foreground=colors[2], padding=5),
        widget.Sep(linewidth=0,
                   padding=10,
                   foreground=colors[2],
                   background=colors[5]),
    ]
    return widgets_list