Exemplo n.º 1
0
def widget_stack():
    gmail_config = {
        'update_interval': 50,
        'fmt': 'in[%s] unread(%s)',
        **get_gmail_config()
    }
    return [
        widget.CurrentScreen(),
        widget.GroupBox(),
        widget.Prompt(),
        widget.TaskList(),
        widget.GmailChecker(**gmail_config),
        widget.Sep(),
        widget.CheckUpdates(),
        widget.Sep(),
        widget.Wlan(interface=auto_detect_interface()),
        widget.Sep(),
        widget.DF(visible_on_warn=False, format="Disk free {r:.1f}%"),
        widget.Sep(),
        widget.CPUGraph(),
        widget.Memory(),
        widget.Sep(),
        widget.Battery(update_interval=1, format="🔋 {char} {percent:2.0%}"),
        widget.Sep(),
        widget.Systray(),
        widget.Notify(),
        widget.Clock(),
        widget.CurrentLayoutIcon(),
    ]
Exemplo n.º 2
0
def wid_second_screen():
    return [
        wid_groups(),
        widget.WindowName(),
        custom_sep(),
        widget.CurrentLayoutIcon(scale=0.85),
        custom_sep(),
        widget.KeyboardLayout(configured_keyboards=['us', 'latam'],
                              option='grp:win_space_toggle'),
        custom_sep(),
        widget.TextBox(text='﬙', fontsize=18),
        widget.CPU(format='CPU: {load_percent}%'),
        widget.TextBox(text='',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_htop}),
        widget.Memory(format='Mem: {MemUsed}M'),
        widget.TextBox(text='墳',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_pavucontrol}),
        widget.PulseVolume(),
        widget.TextBox(text='', fontsize=18),
        widget.Backlight(backlight_name='amdgpu_bl0',
                         brightness_file=br_path,
                         max_brightness_file=br_max_path,
                         change_command='brightnessctl set {0}',
                         step=5),
        custom_sep(),
        custom_clock(),
    ]
Exemplo n.º 3
0
def wid_bottom_main_screen():
    return [
        widget.Cmus(play_color=hard_color, noplay_color=soft_color),
        widget.Sep(linewidth=0),
        widget.Spacer(),
        widget.TextBox(text="", fontsize=18),
        widget.CheckUpdates(update_interval=3600,
                            distro='Arch',
                            display_format='Updates: {updates}',
                            custom_command='checkupdates',
                            no_update_string='N/A'),
        widget.TextBox(text='﬙',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_stacer}),
        widget.CPU(format='CPU: {load_percent}%'),
        widget.TextBox(text='',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_htop}),
        widget.Memory(format='Mem: {MemUsed}M'),
        widget.TextBox(text='',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_fe}),
        widget.DF(format='({uf}{m}|{r:.0f}%)', visible_on_warn=False),
        widget.TextBox(text='墳',
                       fontsize=18,
                       mouse_callbacks={'Button1': launch_pavucontrol}),
        widget.PulseVolume(),
        widget.TextBox(text='', fontsize=18),
        widget.Backlight(backlight_name='amdgpu_bl0',
                         brightness_file=br_path,
                         max_brightness_file=br_max_path,
                         change_command='brightnessctl set {0}',
                         step=5),
    ]
Exemplo n.º 4
0
def init_widgets_list():
    widgets_list = [
        widget.Sep(linewidth=0, padding=6, foreground=colors[2], background=colors[0]),
        widget.GroupBox(
            font="Ubuntu Medium",
            fontsize=16,
            margin_y=3,
            margin_x=0,
            padding_y=5,
            padding_x=5,
            borderwidth=3,
            active=colors[2],
            inactive=colors[1],
            rounded=True,
            highlight_color=colors[3],
            highlight_method="text",
            this_current_screen_border=colors[3],
            this_screen_border=colors[0],
            other_current_screen_border=colors[0],
            other_screen_border=colors[0],
            foreground=colors[2],
            background=colors[0],
        ),
        widget.Sep(linewidth=0, padding=40,),
        widget.WindowName(foreground=colors[3], background=colors[0], padding=0),
        make_arrow(colors[1], colors[0]),
        widget.CPU(
            format="CPU {freq_current}GHz {load_percent}%",
            update_interval=1.0,
            foreground=colors[2],
            background=colors[1],
            padding=5,
        ),
        make_arrow(colors[0], colors[1]),
        widget.TextBox(
            text=" 🌡",
            padding=2,
            foreground=colors[2],
            background=colors[0],
            fontsize=11,
        ),
        widget.ThermalSensor(foreground=colors[2], background=colors[0], padding=5,),
        make_arrow(colors[1], colors[0]),
        widget.TextBox(
            text="", foreground=colors[2], background=colors[1], padding=0, fontsize=14
        ),
        widget.Memory(foreground=colors[2], background=colors[1], padding=5),
        make_arrow(colors[0], colors[1]),
        widget.TextBox(text="", foreground=colors[2], background=colors[0], padding=0),
        widget.Volume(foreground=colors[2], background=colors[0], padding=5),
        make_arrow(colors[1], colors[0]),
        widget.CurrentLayout(foreground=colors[2], background=colors[1], padding=5),
        make_arrow(colors[0], colors[1]),
        widget.Clock(
            foreground=colors[2], background=colors[0], format="%A, %B %d  [ %I:%M %p ]"
        ),
        widget.Systray(background=colors[0], icon_size=20, padding=10),
    ]
    return widgets_list
Exemplo n.º 5
0
def getBar():
    return bar.Bar([
        widget.GroupBox(margin_x=0,
                        margin_y=3,
                        borderwidth=0,
                        padding_x=10,
                        rounded=False,
                        disable_drag=True,
                        highlight_method="block",
                        this_current_screen_border="a1b56c",
                        this_screen_border="505a36",
                        other_screen_border="888888",
                        inactive="d0d0d0",
                        active=foreground,
                        background=background),
        widget.Prompt(),
        widget.WindowName(
            foreground=foreground,
            background=background,
        ),
        widget.Notify(
            foreground=foreground,
            background=background,
        ),
        widget.Battery(background="#a1b56c",
                       low_foreground=white,
                       low_percentage=0.15,
                       update_delay=10,
                       charge_char="+",
                       discharge_char="-",
                       format='{char} {percent:2.0%} {hour:d}:{min:02d}'),
        widget.Net(interface="wlo1",
                   foreground=white,
                   background="#a1b56c",
                   format='{down} ↓↑ {up}'),
        widget.Wlan(
            interface="wlo1",
            background="#a1b56c",
            format='{essid} {percent:2.0%}',
        ),
        widget.Memory(background=yellow, ),
        widget.CPU(background=yellow, format='C: {load_percent}%'),
        widget.TextBox(
            text="V:",
            background=yellow,
        ),
        widget.Volume(background=yellow, ),
        widget.Clock(
            format="%a %d %b %H:%M:%S",
            background=blue,
        ),
        widget.YahooWeather(
            woeid='551801',
            format='{current_observation_condition_temperature}°C',
            background=blue,
        ),
        widget.Systray(background=blue, ),
    ], 20)
Exemplo n.º 6
0
 def ram(self):
     return WidgetGrouping(
         widget.Memory(
             format="{MemUsed: .2f}{mm}",
             measure_mem="G",
         ),
         icon("ram"),
         group_coloring=self.group_coloring,
     )
Exemplo n.º 7
0
def init_bottom_widgets_list():
    return [
        widget.Sep(
            linewidth=0,
            padding=3,
        ),
        widget.TaskList(
            fontsize=11,
            margin_x=0,
            margin_y=1,
            padding_x=6,
            padding_y=2.3,
            borderwidth=1,
            icon_size=14,
            spacing=1,
            # max_title_width = 190,
            title_width_method='uniform',
            urgent_alert_method="text",
            highlight_method="block",
            txt_minimized="V ",
            txt_maximized="",
            txt_floating="",
            # unfocused_border = "None",
            rounded=True,
            # border = colors["blue"],
        ),
        widget.Sep(
            linewidth=0,
            padding=3,
        ),
        widget.Image(scale=True,
                     filename="~/.config/qtile/bar06.png",
                     background=colors["red"]),
        widget.TextBox(fontsize=14, text=" ↯", background=colors["grey"]),
        widget.ThermalSensor(tag_sensor="CPU",
                             threshold=80,
                             update_interval=1,
                             foreground_alert=colors["red"],
                             foreground=colors["white"],
                             background=colors["grey"]),
        widget.Sep(linewidth=0, padding=3, background=colors["grey"]),
        widget.TextBox(font=fonts["bold"],
                       fontsize=14,
                       text="⌬",
                       background=colors["grey"]),
        widget.Memory(fmt='{MemAvailable}M/{MemTotal}M',
                      update_interval=1,
                      background=colors["grey"]),
        widget.Sep(linewidth=0, padding=3, background=colors["grey"]),
        widget.TextBox(font=fonts["bold"],
                       fontsize=14,
                       text="🕒",
                       background=colors["grey"]),
        widget.Clock(format="%a, %b %d - %H:%M", background=colors["grey"]),
        widget.Sep(linewidth=0, padding=3, background=colors["grey"])
    ]
Exemplo n.º 8
0
def wk_workspaces_base():
    return [
        widget.Sep(**w_separator),
        widget.GroupBox(**w_group_box),
        widget.Sep(**w_separator),
        widget.WindowName(**w_window_name),
        widget.Prompt(),
        widget.Memory(**w_memory),
        widget.CPU(**w_cpu),
    ]
Exemplo n.º 9
0
def init_widgets_bottom():
    widgets_bottom = [
        widget.GroupBox(
            font="FuraMono Nerd",
            fontsize = 16,
            margin_y = 0,
            margin_x = 0,
            padding_y = 5,
            padding_x = 5,
            borderwidth = 1,
            spacing = 4,
            active = colors[2],
            inactive = colors[2],
            rounded = False,
            highlight_method = "block",
            this_current_screen_border = colors[1],
            this_screen_border = colors [4],
            other_current_screen_border = colors[0],
            other_screen_border = colors[0],
            foreground = colors[2],
            background = colors[0]
        ),
        widget.Spacer(
        ),
        widget.TextBox(
            font = "FuraMono Nerd",
            text = "",
            padding = 5,
            background = colors[0],
            fontsize = 14
        ),
        widget.Memory(
            fmt = '{MemUsed}M',
            update_interval = 1,
            background = colors[0]
        ),
        widget.TextBox(
            font = "FuraMono Nerd",
            text = "",
            foreground = colors[2],
            background = colors[0],
            padding = 5,
            fontsize = 14
        ),
        widget.ThermalSensor(
            foreground = colors[2],
            background = colors[0],
        ),
        widget.Sep(
            linewidth = 0,
            padding = 5,
            foreground = colors[0],
            background = colors[0]
        )]
    return widgets_bottom
Exemplo n.º 10
0
def bar_widgets(colors):
    seperator = widget.Sep(linewidth=3,
                           padding=4,
                           foreground=colors["foreground"])
    return [
        widget.GroupBox(
            active=colors["foreground"],
            inactive=colors["foreground-alt"],
            highlight_method="line",
            highlight_color=colors["highlight"],
            this_current_screen_border=colors["underline"],
            urgent_border=colors["alert"],
        ),
        widget.Spacer(),
        seperator,
        playerctl_control("~/.config/qtile/icons/firefox.png", "firefox"),
        playerctl_control("~/.config/qtile/icons/youtubemusic.png",
                          "chromium"),
        seperator,
        widget.Image(filename="~/.config/qtile/icons/sound.png", margin=4),
        widget.PulseVolume(volume_app="pavucontrol", padding=4, fontsize=18),
        seperator,
        widget.Image(filename="~/.config/qtile/icons/network.png", margin=4),
        widget.Net(format="{down} ↓↑ {up}"),
        seperator,
        widget.Image(filename="~/.config/qtile/icons/memory.png", margin=4),
        widget.Memory(format="{MemUsed}M/{MemTotal}M"),
        seperator,
        widget.Image(filename="~/.config/qtile/icons/cpu.png", margin=4),
        widget.CPU(format="{freq_current}GHz {load_percent}%"),
        seperator,
        widget.Image(filename="~/.config/qtile/icons/temp.png", margin=4),
        widget.ThermalSensor(),
        seperator,
        widget.CurrentLayoutIcon(
            foreground=colors["underline"],
            custom_icon_paths=["~/.config/qtile/icons/layouts/"],
            padding=5),
        seperator,
        widget.Clock(
            foreground=colors["foreground"],
            format="%A, %B %d - %H:%M",
        ),
        seperator,
        widget.Systray(icon_size=24, padding=5),
        seperator,
        system_action("~/.config/qtile/icons/notification-resume.png",
                      "notify-send \"DUNST_COMMAND_TOGGLE\""),
        system_action("~/.config/qtile/icons/restart.png", "systemctl reboot"),
        system_action("~/.config/qtile/icons/suspend.png", "dm-tool lock"),
        system_action("~/.config/qtile/icons/shutdown.png",
                      "systemctl poweroff"),
    ]
Exemplo n.º 11
0
def make_ram_widget(widget_foreground, secondcolour, powerline: bool):
    foreground = "#98c379"
    background = BACKGROUND

    return widget.Memory(
        foreground=foreground,
        background=background,
        format=" {MemUsed:.0f}M",
        mouse_callbacks={
            "Button1": lambda: qtile.cmd_spawn(f"{TERM} -e htop")
        },
    )
Exemplo n.º 12
0
def launch_widgets():

    widgets = [
        widget.GroupBox(
            urgent_alert_method='block',
            highlight_method='block',
            rounded=False,
            disable_drag=True,
            this_screen_border=colors['background'],
            this_current_screen_border=colors['purple'],
            other_screen_border=colors['dark_gray'],
            other_current_screen_border=colors['dark_gray'],
            urgent_border=colors['red'],
            inactive=colors['current-line'],
            fontsize=font_size,
            padding_y=5,
            padding_x=8,
        ),
        widget.WindowName(foreground=colors['lighter_gray'], ),
        widget.Spacer(),
        widget.CurrentLayout(foreground=colors['lighter_gray'], ),
        widget.TextBox('\uf438',
                       foreground=colors['current-line'],
                       padding=-12,
                       fontsize=62),
        spawn_icon('\uf2c9', fontsize=14),
        widget.ThermalSensor(
            tag_sensor='Tctl',
            background=colors['current-line'],
            update_interval=1,
        ),
        spawn_icon('\ue266'),
        widget.Memory(format='{MemUsed} MB',
                      background=colors['current-line']),
        spawn_icon('\uf85a'),
        widget.CPU(format='{load_percent}%',
                   background=colors['current-line']),
        spawn_icon('\ufa7d'),
        widget.Volume(cardid=1, step=2, background=colors['current-line']),
        widget.TextBox('\uf438',
                       foreground=colors['background'],
                       background=colors['current-line'],
                       padding=-12,
                       fontsize=62),
        widget.Clock(background=colors['background'],
                     format='%A,%e %b. %H:%M:%S',
                     foreground=colors['foreground'])
    ]

    return widgets
Exemplo n.º 13
0
class Bars(object):
    def __groupbox():
        """GroupBox widget to be used on all bars."""
        return widget.GroupBox(highlight_method="block",
                               this_current_screen_border=theme.colors["blue"],
                               this_screen_border=theme.colors["base6"],
                               inactive=theme.colors["base6"],
                               active=theme.colors["fg"])

    left = bar.Bar(
        widgets=[
            __groupbox(),
            widget.CurrentLayout(),
            widget.Prompt(),
            widget.WindowTabs(),
            widget.TextBox("cpu: ", name="cpu"),
            widget.CPUGraph(),
            widget.TextBox(" mem:", name="mem"),
            widget.Memory(),
            widget.Systray(),
            widget.Clock(format="%Y-%m-%d %a %I:%M %p"),
        ],
        size=24,
        background=[theme.colors["base0"]],
    )

    mid = bar.Bar(
        widgets=[
            __groupbox(),
            widget.Prompt(),
            widget.WindowTabs(),
            widget.CurrentLayout(),
            widget.Clock(format="%I:%M %p"),
        ],
        size=24,
        background=[theme.colors["base0"]],
    )

    right = bar.Bar(
        widgets=[
            __groupbox(),
            widget.Prompt(),
            widget.WindowTabs(),
            widget.CurrentLayout(),
            widget.Clock(format="%I:%M %p"),
        ],
        size=24,
        background=[theme.colors["base0"]],
    )
Exemplo n.º 14
0
def memory(bg=theme.background, fg=theme.foreground):
    return [
        widget.TextBox(
            text="",
            font=theme.font_awesome,
            fontsize=theme.icon_size,
            padding_x=2,
            foreground=fg,
            background=bg,
        ),
        widget.Memory(
            font=theme.font_bold,
            foreground=fg,
            background=bg,
            measure_mem="G",
        ),
    ]
Exemplo n.º 15
0
def init_widgets_list1():
    widgets_list = left_widgets() + [
        widget.TaskList(background=colors[0], border=colors[0]),
        widget.Net(interface="enp0s3",
                   fmt="{:>20}",
                   format='{down} ↓↑ {up}',
                   foreground=colors[2],
                   background=colors[0],
                   mouse_callbacks={
                       'Button1': lambda qtile: qtile.cmd_spawn("stacer")
                   },
                   padding=0),
        sep_widget,
        widget.CPU(background=colors[0], max_chars=15),
        sep_widget,
        widget.Memory(foreground=colors[2],
                      background=colors[0],
                      mouse_callbacks={
                          'Button1': lambda: qtile.cmd_spawn('kitty -e htop')
                      },
                      padding=5),
        sep_widget,
        widget.TextBox(text=" Vol:",
                       foreground=colors[2],
                       background=colors[0],
                       padding=0),
        widget.Volume(foreground=colors[2], background=colors[0], padding=5),
        sep_widget,
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            foreground=colors[0],
            background=colors[0],
            padding=0,
            scale=-1.7),
        widget.CurrentLayout(
            foreground=colors[2], background=colors[0], padding=2),
        sep_widget,
        widget_clock,
        widget.Sep(linewidth=0,
                   padding=10,
                   foreground=colors[0],
                   background=colors[0]),
        widget.Systray(background=colors[0], padding=0),
    ]
    return widgets_list
Exemplo n.º 16
0
def create_widgets_list():
    widgets = [
        widget.GroupBox(),
        widget.Prompt(),
        widget.Spacer(SPACER),
        widget.WindowName(),
        widget.Spacer(SPACER),
        widget.Systray(),
        widget.Spacer(SPACER),
        widget.CPU(),
        widget.Spacer(SPACER),
        widget.Memory(),
        widget.Spacer(SPACER),
        widget.Volume(),
        widget.Spacer(SPACER),
        widget.Clock(format='%Y-%m-%d %a %I:%M %p')
    ]
    return widgets
Exemplo n.º 17
0
def init_widgets():
    return [
        widget.GroupBox(
            font='Hack Bold',
            highlight_method='block',
            active=colors[2],
            inactive=colors[11],
            padding=0,
        ),
        widget.Prompt(),
        #widget.WindowName(),
        widget.Spacer(),
        widget.Systray(icon_size=20, padding=2),
        widget.Sep(),
        widget.CurrentScreen(),
        widget.Sep(),
        widget.Volume(foreground=colors[2]),
        widget.Sep(background=colors[0], padding=2),
        widget.CPUGraph(width=30,
                        border_width=1,
                        border_color="#000000",
                        frequency=5,
                        line_width=1,
                        samples=50),
        widget.MemoryGraph(
            width=30,
            border_width=1,
            border_color="#000000",
            frequency=5,
            line_width=1,
        ),
        widget.NetGraph(
            width=30,
            border_width=1,
            border_color="#000000",
            frequency=5,
            line_width=1,
        ),
        widget.Sep(background=colors[0], padding=2),
        widget.Memory(foreground=colors[2]),
        widget.Sep(background=colors[0], padding=2),
        widget.Clock(foreground=colors[2], format='%a %d %b %I:%M %p'),
        widget.CurrentLayoutIcon(foreground=colors[2]),
    ]
Exemplo n.º 18
0
def init_widgets_list():
    widgets_list = [
        widget.GroupBox(fontsize=13,
                        borderwidth=2,
                        disable_drag=True,
                        active=colors[4],
                        inactive=colors[2],
                        rounded=True,
                        highlight_method="border",
                        highlight_color=colors[2],
                        this_current_screen_border=colors[4]),
        widget.CurrentLayoutIcon(scale=0.65),
        widget.Spacer(),
        #widget.WindowName(),
        widget.CPU(),
        widget.Memory(),
        widget.Systray(),
        widget.Clock(format='%a %b %d, %Y %I:%M %p'),
    ]
    return widgets_list
Exemplo n.º 19
0
 widget.Cmus(play_color=colours["green"],
             noplay_color=colours["fg_dim"]),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.ThermalSensor(foreground=colours["fg_normal"],
                      forground_alert=colours["red"],
                      tag_sensor="Tdie"),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.CPU(foreground=colours["fg_normal"],
            format="{load_percent}% {freq_current}GHz",
            update_interval=3.0),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.Memory(foreground=colours["fg_normal"],
               format="{MemUsed}/{MemTotal}MiB",
               update_interval=3.0),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.Net(foreground=colours["fg_normal"],
            update_interval=3.0,
            format="{down}↓ {up}↑",
            interface="enp8s0"),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.Volume(device="pulse"),
 widget.Sep(),
 widget.TextBox(text="", fontsize="32", foreground=colours["yellow"]),
 widget.CheckUpdates(colour_have_updates=colours["fg_highlight"],
                     colour_no_updates=colours["fg_dim"],
                     distro="Arch_checkupdates",
Exemplo n.º 20
0
		widget.Prompt(
			prompt=prompt,
                        font="Source Code Pro",
                        padding=10,
                        cursor = True,
                        cursor_color = '#bef098',
                        bell_style = 'None'
                        ),
	        widget.TextBox(
			foreground= color['light_blue'],
                        text=" 🖬",
                        padding = 0,
                        fontsize=16
                        ),
                widget.Memory(
                        padding = 5
                        ),
		widget.TextBox(
			foreground = color['light_blue'],
                        text=" 🌡",
                        padding = 1,
                        fontsize=11
                        ),
		widget.ThermalSensor(
                        padding = 5
                        ),
                widget.TextBox(
			foreground = color['light_blue'],
                        text=" ⟳",
                        padding = 1,
                        fontsize=16
Exemplo n.º 21
0
def init_widgets_list():
    widgets_list = [
        widget.Image(filename="~/.config/qtile/icons/trioptimum-logo.png",
                     margin=2,
                     margin_x=5),
        widget.Sep(linewidth=0,
                   padding=5,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.GroupBox(
            font="Ubuntu Bold",
            #fontsize = 12,
            margin_x=0,
            margin_y=2,
            padding_x=8,
            padding_y=8,
            borderwidth=1,
            active=colors["white"],
            inactive=colors["white"],
            highlight_method="block",
            rounded=False,
            this_current_screen_border=colors["purple"],
            this_screen_border=colors["dark_grey"],
            other_current_screen_border=colors["black_grey"],
            other_screen_border=colors["black_grey"],
            foreground=colors["white"],
            background=colors["black_grey"]),
        widget.Prompt(prompt="{0}@{1}: ".format(os.environ["USER"],
                                                socket.gethostname()),
                      font="Ubuntu Mono",
                      padding=10,
                      foreground=colors["light_red"],
                      background=colors["dark_grey"]),
        widget.WindowName(foreground=colors["purple"]),
        widget.TextBox(background=colors["white"],
                       foreground=colors["black_grey"],
                       text="SkrivRoot-MAIN",
                       name="default"),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.Image(filename="~/.config/qtile/icons/rj45.png",
                     margin=2,
                     margin_x=5),
        widget.Net(
            interface="wlp5s0",
            format='{down} ▼▲ {up}'  # format = '{interface}: {down} ▼▲ {up}'
        ),
        widget.TextBox(text="\U000027A4 VPN ", foreground="#33cc00"),
        # VPN Status + Public IP Country
        widget.GenPollText(func=get_vpn_status,
                           update_interval=5,
                           foreground="#33cc00"),
        widget.GenPollText(func=get_current_country,
                           update_interval=5,
                           foreground="#33cc00"),
        widget.Sep(linewidth=0, padding=3),
        widget.Image(filename="~/.config/qtile/icons/processor.png",
                     margin=2,
                     margin_x=5),
        widget.CPU(format='{load_percent}%'),
        widget.Sep(linewidth=0, padding=3),
        widget.Image(filename="~/.config/qtile/icons/ram.png",
                     margin=2,
                     margin_x=5),
        widget.Memory(foreground=colors["white"],
                      background=colors["black_grey"],
                      padding=5,
                      format='{MemUsed}Mb ({MemPercent}%)'),
        widget.Sep(linewidth=0, padding=3),
        widget.Image(filename="~/.config/qtile/icons/hard_drive.png",
                     margin=2,
                     margin_x=5),
        widget.DF(foreground=colors["white"],
                  background=colors["black_grey"],
                  padding=5,
                  partition='/',
                  format='{uf}Gb ({r:.0f}%)',
                  visible_on_warn=False,
                  warn_space=10),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),

        # Bitcoin ticker
        widget.BitcoinTicker(foreground="#f7931a"),

        # Monero ticker
        widget.GenPollText(func=xmr_ticker,
                           update_interval=30,
                           foreground="#fc6a03"),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            background=colors["black_grey"],
            padding=0,
            scale=0.5),
        #widget.CurrentLayout(**widget_defaults),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.TextBox(text="\U0001F50B"),
        widget.Battery(format='{percent:2.0%}'),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),

        # Volume
        widget.TextBox(text="\U0001F50A"),
        widget.GenPollText(
            func=get_current_volume1,
            update_interval=0.2,
        ),
        widget.TextBox(text="\U0001F50A"),
        widget.GenPollText(
            func=get_current_volume2,
            update_interval=0.2,
        ),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.TextBox(text="\u2328"),
        widget.GenPollText(
            func=get_kb_layout,
            update_interval=0.5,
        ),
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors["white"],
                   background=colors["black_grey"]),
        widget.Clock(
            format='📅  %a, %d %b. %Y - %H:%M:%S'),  # %S for adding seconds
    ]
    return widgets_list
Exemplo n.º 22
0
def init_screen1():
    return Screen(top=bar.Bar(
        widgets=[
            widget.CurrentLayoutIcon(
                scale=0.75,
                foreground=colors[3],
            ),
            widget.Sep(**widget_defaults),
            widget.GroupBox(active='#FFFF99',
                            inactive=colors[2],
                            urgent_alert_method='block',
                            highlight_method='block',
                            this_current_screen_border=colors[3],
                            this_screen_border=colors[0],
                            other_current_screen_border=colors[3],
                            other_screen_border=colors[0],
                            disable_drag=True,
                            spacing=0,
                            padding_x=6,
                            visible_groups=['a', 's', 'd', 'f'],
                            use_mouse_wheel=False,
                            **widget_defaults),
            widget.Sep(**widget_defaults),
            widget.Prompt(padding=10, ),
            widget.TaskList(
                border=colors[5],
                max_title_width=150,
                highlight_method='block',
                spacing=0,
                margin=0,
                padding_x=12,
                fontsize=14,
                txt_floating='[x]',
                icon_size=0,
                rounded=False,
            ),
            widget.Systray(
                background=colors[6],
                **widget_defaults,
            ),
            widget.BatteryIcon(
                theme_path='/home/xiangchong/.config/qtile/battery-icons/',
                background=colors[4],
                spacing=3,
                padding_x=6,
            ),
            widget.CPU(
                foreground=colors[3],
                background=colors[4],
                max_chars=12,
                format='CPU:{load_percent:02.0f}%;',
                spacing=0,
                padding_x=6,
            ),
            widget.Memory(
                foreground=colors[3],
                background=colors[4],
                max_chars=12,
                measure_mem='G',
                measure_swap='G',
                spacing=1,
                padding_x=6,
                format='Mem:{MemUsed:02.0f}{mm}/{MemTotal:.0f}{mm}',
            ),
            widget.Countdown(
                background=colors[6],
                date=datetime(2022, 4, 1),
                format='{D} Days;',
                update_interval=3600,
                # background = colors[1],
                foreground=colors[0],
                spacing=1,
                padding_x=6,
            ),
            widget.Clock(
                background=colors[6],
                foreground=colors[0],
                format="%a, %m-%d; %H:%M",
            ),
        ],
        opacity=.95,
        size=26,
        background='#12141a',
    ))
Exemplo n.º 23
0
def init_widgets_list():
    prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
    widgets_list = [
        widget.Sep(linewidth=1,
                   padding=10,
                   foreground=colors[15],
                   background=colors[15]),  #
        widget.Image(
            filename="~/.config/qtile/icons/garuda-red.png",
            iconsize=9,
            background=colors[15],
            mouse_callbacks={'Button1':
                             lambda: qtile.cmd_spawn('jgmenu_run')}),
        widget.GroupBox(**base(bg=colors[15]),
                        font='UbuntuMono Nerd Font',
                        fontsize=11,
                        margin_y=3,
                        margin_x=2,
                        padding_y=5,
                        padding_x=4,
                        borderwidth=3,
                        active=colors[5],
                        inactive=colors[6],
                        rounded=True,
                        highlight_method='block',
                        urgent_alert_method='block',
                        urgent_border=colors[16],
                        this_current_screen_border=colors[20],
                        this_screen_border=colors[17],
                        other_current_screen_border=colors[13],
                        other_screen_border=colors[17],
                        disable_drag=True),
        widget.TaskList(
            highlight_method='border',  # or block
            icon_size=17,
            max_title_width=150,
            rounded=True,
            padding_x=0,
            padding_y=0,
            margin_y=0,
            fontsize=14,
            border=colors[7],
            foreground=colors[9],
            margin=2,
            txt_floating='🗗',
            txt_minimized='>_ ',
            borderwidth=1,
            background=colors[20],
            #unfocused_border = 'border'
        ),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            foreground=colors[5],
            background=colors[3],
            padding=0,
            scale=0.7),
        widget.CurrentLayout(font="Noto Sans Bold",
                             fontsize=12,
                             foreground=colors[5],
                             background=colors[3]),
        widget.Net(
            font="Noto Sans",
            fontsize=12,
            # Here enter your network name
            interface=["wlp6s0"],
            format='{down} ↓↑ {up}',
            foreground=colors[5],
            background=colors[19],
            padding=0,
        ),
        widget.CPU(
            font="Noto Sans",
            #format = '{MemUsed}M/{MemTotal}M',
            update_interval=1,
            fontsize=12,
            foreground=colors[5],
            background=colors[22],
            mouse_callbacks={
                'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')
            },
        ),
        widget.Memory(
            font="Noto Sans",
            format='{MemUsed: .0f}M/{MemTotal: .0f}M',
            update_interval=1,
            fontsize=12,
            measure_mem='M',
            foreground=colors[5],
            background=colors[16],
            mouse_callbacks={
                'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')
            },
        ),
        widget.Clock(foreground=colors[9],
                     background=colors[23],
                     fontsize=12,
                     format="%Y-%m-%d %H:%M"),
        widget.Systray(background=colors[10], icon_size=20, padding=4),
    ]
    return widgets_list
Exemplo n.º 24
0
 widget.Wlan(interface='wlp0s19f2u1',
             update_interval=3,
             background=ColorA,
             foreground=ColorG),
 widget.TextBox(text='\uE0B2',
                background=ColorA,
                fontsize=20,
                padding=0,
                foreground=ColorB),
 widget.CPU (foreground=ColorG,
             background=ColorB),
 widget.TextBox(mouse_callbacks = {'Button1': lambda : qtile.cmd_spawn('urxvt -e htop')},
                text='',
                foreground=ColorG,
                background=ColorB),
 widget.Memory(foreground=ColorG,
               background=ColorB),
 widget.TextBox(text='\uE0B2',
                background=ColorB,
                fontsize=20,
                padding=0,
                foreground=ColorA),
 widget.TextBox(mouse_callbacks = {'Button1': lambda : qtile.cmd_spawn('pavucontrol-qt')},
                text='',
                foreground=ColorG,
                background=ColorA),
 widget.Volume(foreground=ColorG,
               background=ColorA),
 widget.TextBox(mouse_callbacks = {'Button1': lambda : qtile.cmd_spawn('urxvt -e khal interactive')},
                text='',
                background=ColorA,
                foreground=ColorG),
Exemplo n.º 25
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=33,
                        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="Hack Nerd Font Bold",
                      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=70),
        widget.TextBox(text=" 🖬",
                       foreground=colors[2],
                       background=colors[4],
                       padding=0,
                       fontsize=14),
        widget.Memory(foreground=colors[2], background=colors[4], padding=5),
        widget.TextBox(text='◢',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=70),
        widget.Net(interface="wlp60s0",
                   format='{down} ↓↑ {up}',
                   foreground=colors[2],
                   background=colors[5],
                   padding=5),
        widget.TextBox(text='◢',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=70),
        widget.TextBox(text=" Vol:",
                       foreground=colors[2],
                       background=colors[4],
                       padding=0),
        widget.Volume(foreground=colors[2], background=colors[4], padding=5),
        widget.TextBox(text='◢',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=70),
        widget.Battery(charge_char='',
                       full_char='',
                       empty_char='',
                       discharge_char='',
                       unknown_char='',
                       format='{char} {percent: 1.0%}',
                       foreground=colors[2],
                       background=colors[5]),
        widget.TextBox(text='◢',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=70),
        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=70),
        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
Exemplo n.º 26
0
                    text = ' ',
                    background = color_main,
                    padding = 0,
                    fontsize = 14,
                    mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + " -e bpytop")},
                ),
                widget.CPU(
                    background=color_main,
                    #format='{freq_current}GHz {load_percent: 2.0f}%',
                    format='{freq_current}GHz',
                    update_interval=2,
                    mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + " -e bpytop")},
                ),
                widget.Memory(
                    background=color_main,
                    format='{MemUsed: .0f}M/16G',
                    update_interval=2,
                    mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + " -e bpytop")},
                ),
                widget.TextBox(
                    text = ' ',
                    background = color_main,
                    padding = 0,
                    fontsize = 14,
                    mouse_callbacks={'Button1': lambda: qtile.cmd_spawn("bash /home/necronzero/.config/rofi-network-manager/rofi-network-manager.sh")},
                ),
                widget.Wlan(
                    interface='wlp3s0',
                    update_interval=5,
                    format="{essid} {percent:2.0%}",
                    mouse_callbacks={'Button1': lambda: qtile.cmd_spawn("bash /home/necronzero/.config/rofi-network-manager/rofi-network-manager.sh")},
Exemplo n.º 27
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')
                     },
                     margin_x=2,
                     background=colors[0]),
        widget.GroupBox(font="Ubuntu Bold",
                        fontsize=10,
                        margin_y=4,
                        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="block",
                        urgent_alert_method='block',
                        urgent_border=colors[3],
                        this_current_screen_border=colors[4],
                        this_screen_border=colors[4],
                        other_current_screen_border=colors[0],
                        other_screen_border=colors[0],
                        foreground=colors[2],
                        background=colors[0]),
        widget.Sep(linewidth=0,
                   padding=40,
                   foreground=colors[2],
                   background=colors[0]),
        widget.WindowName(foreground=colors[6],
                          background=colors[0],
                          padding=0,
                          fontsize=15),
        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=20),
        widget.CPU(
            foreground=colors[2],
            background=colors[4],
            padding=5,
            fontsize=14,
            format='{freq_current}GHz {load_percent}%',
            mouse_callbacks={
                'Button1': lambda qtile: qtile.cmd_spawn(myTerm + ' -e htop')
            },
        ),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text="",
                       padding=0,
                       foreground=colors[2],
                       background=colors[5],
                       fontsize=15),
        widget.ThermalSensor(foreground=colors[2],
                             background=colors[5],
                             threshold=80,
                             padding=5,
                             fontsize=14),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text="🐏",
                       foreground=colors[2],
                       background=colors[4],
                       padding=0,
                       fontsize=14),
        widget.Memory(foreground=colors[2],
                      background=colors[4],
                      mouse_callbacks={
                          'Button1':
                          lambda qtile: qtile.cmd_spawn(myTerm + ' -e htop')
                      },
                      padding=5,
                      fontsize=14),
        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=22),
        widget.DF(foreground=colors[2],
                  background=colors[5],
                  threshold=90,
                  padding=5,
                  visible_on_warn=False,
                  format='{uf}{m}/{s}{m}|{r:.0f}%',
                  fontsize=14),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text=" ",
                       padding=0,
                       foreground=colors[2],
                       background=colors[4],
                       fontsize=12),
        widget.Battery(foreground=colors[2],
                       background=colors[4],
                       padding=2,
                       fontsize=14,
                       change_char='⚡',
                       notify_below=50,
                       show_short_text=False,
                       format='{percent:2.0%}'),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.CurrentLayoutIcon(foreground=colors[0],
                                 background=colors[5],
                                 padding=0,
                                 scale=0.7),
        widget.CurrentLayout(foreground=colors[2],
                             background=colors[5],
                             padding=5,
                             fontsize=14),
        widget.TextBox(text='',
                       background=colors[5],
                       foreground=colors[4],
                       padding=0,
                       fontsize=37),
        widget.TextBox(text="",
                       foreground=colors[2],
                       background=colors[4],
                       padding=4,
                       fontsize=20),
        widget.Clock(foreground=colors[2],
                     background=colors[4],
                     format="%a, %b %d  [%H:%M]",
                     fontsize=14),
        widget.TextBox(text='',
                       background=colors[4],
                       foreground=colors[5],
                       padding=0,
                       fontsize=37),
        widget.Systray(background=colors[5], padding=3),
        widget.Sep(linewidth=0,
                   padding=5,
                   foreground=colors[0],
                   background=colors[5]),
    ]
    return widgets_list
Exemplo n.º 28
0
def init_widgets_list():
    widgets_list = [
        widget.Sep(linewidth=0,
                   padding=6,
                   foreground=colors['color7'],
                   background=colors['color0']),
        widget.GroupBox(font="Cantarell Bold",
                        fontsize=10,
                        margin_y=3,
                        margin_x=0,
                        padding_y=5,
                        padding_x=3,
                        borderwidth=3,
                        active=colors['color5'],
                        inactive=colors['color7'],
                        rounded=False,
                        highlight_color=colors['color0'],
                        highlight_method="line",
                        this_current_screen_border=colors['color5'],
                        this_screen_border=colors['color5'],
                        foreground=colors['color7'],
                        background=colors['color0']),
        widget.Sep(
            linewidth=0,
            padding=30,
            foreground=colors['color7'],
        ),
        widget.WindowName(foreground=colors['color4'],
                          font='Inconsolata Bold',
                          fontsize='15',
                          padding=2),
        widget.Systray(padding=5, margin=5, fontsize=12),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.TextBox(text="🌡️", padding=2, fontsize=12),
        widget.ThermalSensor(threshold=90, padding=5),
        widget.Sep(linewidth=0, padding=5),
        widget.TextBox(text="🧠", padding=0, fontsize=14),
        widget.CPU(format='{freq_current}GHz {load_percent}%', padding=5),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.TextBox(text="💽", padding=0, fontsize=14),
        widget.Memory(mouse_callbacks={
            'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')
        },
                      format='{MemUsed: .0f}{mm}/{MemTotal: .0f}{mm}',
                      measure_mem='M',
                      padding=5),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.TextBox(text="🔉", padding=0),
        widget.PulseVolume(padding=5,
                           mouse_callbacks={
                               'Button1':
                               lambda: qtile.cmd_spawn('pavucontrol')
                           }),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.CurrentLayoutIcon(
            custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
            padding=0,
            scale=0.7),
        widget.CurrentLayout(padding=5),
        widget.Sep(
            linewidth=0,
            padding=6,
        ),
        widget.Clock(format="📅 %A, %B %d 🕒 %H:%M "),
    ]
    return widgets_list
Exemplo n.º 29
0
extension_defaults = widget_defaults.copy()

screens = []
for screen in range(0, num_screens):
    screens.append(
        Screen(
            top=bar.Bar(
                [
                    widget.GroupBox(disable_drag=True),
                    # widget.Prompt(),
                    # widget.WindowName(),
                    widget.TaskList(),
                    widget.Systray(),
                    widget.Sep(linewidth=2, padding=2),
                    widget.TextBox("­ЪДа"),
                    widget.Memory(),
                    widget.Sep(linewidth=2, padding=2),
                    widget.TextBox("­ЪќЦ№ИЈ"),
                    widget.ThermalSensor(tag_sensor="Package id 0"),
                    widget.Sep(linewidth=2, padding=2),
                    widget.TextBox("­ЪЊХ"),
                    widget.Net(interface=["wlo1"],
                               update_interval=10,
                               format='{down}РєЊРєЉ{up}'),
                    widget.Sep(linewidth=2, padding=2),
                    widget.TextBox("­ЪЊй№ИЈ"),
                    widget.ThermalSensor(tag_sensor="temp1"),
                    widget.Sep(linewidth=2, padding=2),
                    #widget.TextBox("­ЪћІ"),
                    #widget.Sep(linewidth=2, padding=2),
                    widget.TextBox("­ЪЋњ"),
Exemplo n.º 30
0
def init_widgets_list():
    prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
    widgets_list = [
               widget.GroupBox(font="FontAwesome",
                        fontsize = 12,
                        margin_y = 2,
                        margin_x = 0,
                        padding_y = 6,
                        padding_x = 5,
                        borderwidth = 0,
                        disable_drag = True,
                        active = colors[2],
                        inactive = colors[9],
                        rounded = False,
                        highlight_method = "text",
                        this_current_screen_border = colors[4],
                        foreground = colors[2],
                        background = colors[1]
                        ),
               # widget.Sep(
               #         linewidth = 1,
               #         padding = 10,
               #         foreground = colors[2],
               #         background = colors[1]
               #         ),
               widget.CurrentLayout(
                        font = "Noto Sans Bold",
                        foreground = colors[5],
                        background = colors[1],
                        padding_y = 4
                        ),
               #widget.Sep(
               #         linewidth = 1,
               #         padding = 10,
               #         foreground = colors[2],
               #         background = colors[1]
               #         ),
               widget.WindowName(font="Noto Sans",
                        fontsize = 12,
                        foreground = colors[5],
                        background = colors[1],
                        ),
               # widget.Net(
               #          font="Noto Sans",
               #          fontsize=12,
               #          interface="enp0s31f6",
               #          foreground=colors[2],
               #          background=colors[1],
               #          padding = 0,
               #          ),
               # widget.Sep(
               #          linewidth = 1,
               #          padding = 10,
               #          foreground = colors[2],
               #          background = colors[1]
               #          ),
               # widget.NetGraph(
               #          font="Noto Sans",
               #          fontsize=12,
               #          bandwidth="down",
               #          interface="auto",
               #          fill_color = colors[8],
               #          foreground=colors[2],
               #          background=colors[1],
               #          graph_color = colors[8],
               #          border_color = colors[2],
               #          padding = 0,
               #          border_width = 1,
               #          line_width = 1,
               #          ),
               # widget.Sep(
               #          linewidth = 1,
               #          padding = 10,
               #          foreground = colors[2],
               #          background = colors[1]
               #          ),
               # # do not activate in Virtualbox - will break qtile
               # widget.ThermalSensor(
               #          foreground = colors[5],
               #          foreground_alert = colors[6],
               #          background = colors[1],
               #          metric = True,
               #          padding = 3,
               #          threshold = 80
               #          ),
               # # battery option 1  ArcoLinux Horizontal icons do not forget to import arcobattery at the top
               # widget.Sep(
               #          linewidth = 1,
               #          padding = 10,
               #          foreground = colors[2],
               #          background = colors[1]
               #          ),
               # arcobattery.BatteryIcon(
               #          padding=0,
               #          scale=0.7,
               #          y_poss=2,
               #          theme_path=home + "/.config/qtile/icons/battery_icons_horiz",
               #          update_interval = 5,
               #          background = colors[1]
               #          ),
               # # battery option 2  from Qtile
               # widget.Sep(
               #          linewidth = 1,
               #          padding = 10,
               #          foreground = colors[2],
               #          background = colors[1]
               #          ),
               widget.TextBox(
                        font="Noto Sans",
                        text="",
                        foreground= "#3c4354",
                        background=colors[1],
                        padding = 0,
                        fontsize=40
                        ),
               widget.Systray(
                        background= "#3c4354",
                        icon_size=20,
                        padding = 4
                        ),
              # widget.Battery(
               #          font="Noto Sans",
               #          update_interval = 10,
               #          fontsize = 12,
               #          foreground = colors[5],
               #          background = "#3c4354",
	       #              ),
               widget.TextBox(
                        font="Noto Sans",
                        text="",
                        foreground= "#4c4d48",
                        background= "#3c4354",
                        padding = 0,
                        fontsize=40
                        ),
               widget.CPUGraph(
                        border_color = colors[4],
                        fill_color = colors[6],
                        graph_color = colors[2],
                        background= "#4c4d48",
                        border_width = 1,
                        line_width = 1,
                        core = "all",
                        type = "box"
                        ),
               widget.TextBox(
                        font="Noto Sans",
                        text="",
                        foreground= "#868774",
                        background= "#4c4d48",
                        padding = 0,
                        fontsize=40
                        ),
               
               # widget.Sep(
               #         linewidth = 1,
               #         padding = 10,
               #         foreground = colors[2],
               #         background = colors[1]
               #         ),
               widget.TextBox(
                        font="FontAwesome",
                        text="  ",
                        foreground=colors[4],
                        background= "#868774",
                        padding = 0,
                        fontsize=16
                        ),
               widget.Memory(
                        font="Noto Sans",
                        format = '{MemUsed}M/{MemTotal}M',
                        update_interval = 1,
                        fontsize = 12,
                        foreground = colors[4],
                        background = "#868774",
                       ),
               #widget.Sep(
               #         linewidth = 1,
               #         padding = 10,
               #         foreground = colors[2],
               #         background = colors[1]
               #         ),
              widget.TextBox(
                        font="Noto Sans",
                        text="",
                        foreground= "#ced48c",
                        background= "#868774",
                        padding = 0,
                        fontsize=40
                        ),
              widget.TextBox(
                        font="FontAwesome",
                        text="  ",
                        foreground= "#44475a",
                        background= "#ced48c",
                        padding = 0,
                        fontsize=16
                        ),
               widget.Clock(
                        foreground = "#44475a",
                        background = "#ced48c",
                        fontsize = 12,
                        format="%Y-%m-%d %H:%M"
                        ),
              #widget.Sep(
              #          linewidth = 1,
              #          padding = 10,
              #          foreground = colors[2],
              #          background = colors[1]
              #          ),
              widget.TextBox(
                        font="Noto Sans",
                        text="",
                        foreground=colors[6],
                        background= "#ced48c",
                        padding = 0,
                        fontsize=40
                        ),
             widget.Battery(
                       charge_char = '',
                       discharge_char = '',
                       empty_char = '',
                       full_char = '',
                       font = 'mononoki NF Bold',
                       low_percentage = 0.15,
                       low_foreground = '#ea1717',
                       format = "{char} {percent:2.0%}",
                       #update_interval = '0',
                       foreground = "#44475a",
                       background = colors [4],
                       ),
               
                             ]
    return widgets_list