mirror of
https://gitgud.io/Melon__Bread/gnu-plus-dotfiles.git
synced 2024-11-25 00:38:38 -05:00
Fixed a couple of old refs
This commit is contained in:
parent
a0a4b22bc4
commit
456684cd57
@ -312,15 +312,15 @@ for i in groups:
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
colors = colors.gruvbox
|
color = colors.gruvbox
|
||||||
|
|
||||||
|
|
||||||
def init_layout_theme():
|
def init_layout_theme():
|
||||||
return {
|
return {
|
||||||
"margin": 10,
|
"margin": 10,
|
||||||
"border_width": 2,
|
"border_width": 2,
|
||||||
"border_focus": colors["gray"],
|
"border_focus": color["gray"],
|
||||||
"border_normal": colors["dark-aqua"],
|
"border_normal": color["dark-aqua"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -331,14 +331,14 @@ layouts = [
|
|||||||
layout.MonadTall(
|
layout.MonadTall(
|
||||||
margin=16,
|
margin=16,
|
||||||
border_width=2,
|
border_width=2,
|
||||||
border_focus=colors["gray"],
|
border_focus=color["gray"],
|
||||||
border_normal=colors["dark-aqua"],
|
border_normal=color["dark-aqua"],
|
||||||
),
|
),
|
||||||
layout.MonadWide(
|
layout.MonadWide(
|
||||||
margin=16,
|
margin=16,
|
||||||
border_width=2,
|
border_width=2,
|
||||||
border_focus=colors["gray"],
|
border_focus=color["gray"],
|
||||||
border_normal=colors["dark-aqua"],
|
border_normal=color["dark-aqua"],
|
||||||
),
|
),
|
||||||
layout.Matrix(**layout_theme),
|
layout.Matrix(**layout_theme),
|
||||||
layout.Bsp(**layout_theme),
|
layout.Bsp(**layout_theme),
|
||||||
@ -350,9 +350,9 @@ layouts = [
|
|||||||
layout.Tile(**layout_theme),
|
layout.Tile(**layout_theme),
|
||||||
layout.TreeTab(
|
layout.TreeTab(
|
||||||
sections=["FIRST", "SECOND"],
|
sections=["FIRST", "SECOND"],
|
||||||
bg_color=colors["bg1"],
|
bg_color=color["bg1"],
|
||||||
active_bg=colors["dark-blue"],
|
active_bg=color["dark-blue"],
|
||||||
inactive_bg=colors["light-blue"],
|
inactive_bg=color["light-blue"],
|
||||||
padding_y=5,
|
padding_y=5,
|
||||||
section_top=10,
|
section_top=10,
|
||||||
panel_width=280,
|
panel_width=280,
|
||||||
@ -365,14 +365,14 @@ layouts = [
|
|||||||
|
|
||||||
|
|
||||||
def base(fg="text", bg="dark"):
|
def base(fg="text", bg="dark"):
|
||||||
return {"foreground": colors["fg"], "background": colors["bg"]}
|
return {"foreground": color["fg"], "background": color["bg"]}
|
||||||
|
|
||||||
|
|
||||||
# WIDGETS FOR THE BAR
|
# WIDGETS FOR THE BAR
|
||||||
|
|
||||||
|
|
||||||
def init_widgets_defaults():
|
def init_widgets_defaults():
|
||||||
return dict(font="Noto Sans", fontsize=9, padding=2, background=colors["bg1"])
|
return dict(font="Noto Sans", fontsize=9, padding=2, background=color["bg1"])
|
||||||
|
|
||||||
|
|
||||||
widget_defaults = init_widgets_defaults()
|
widget_defaults = init_widgets_defaults()
|
||||||
@ -382,16 +382,16 @@ def init_widgets_list():
|
|||||||
prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
|
prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
|
||||||
widgets_list = [
|
widgets_list = [
|
||||||
widget.Sep(
|
widget.Sep(
|
||||||
linewidth=1, padding=10, foreground=colors["bg1"], background=colors["bg1"]
|
linewidth=1, padding=10, foreground=color["bg1"], background=color["bg1"]
|
||||||
), #
|
), #
|
||||||
widget.Image(
|
widget.Image(
|
||||||
filename="~/.config/qtile/icons/qtilelogo.png",
|
filename="~/.config/qtile/icons/qtilelogo.png",
|
||||||
iconsize=9,
|
iconsize=9,
|
||||||
background=colors["bg1"],
|
background=color["bg1"],
|
||||||
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("jgmenu_run")},
|
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("jgmenu_run")},
|
||||||
),
|
),
|
||||||
widget.GroupBox(
|
widget.GroupBox(
|
||||||
**base(bg=colors["bg1"]),
|
**base(bg=color["bg1"]),
|
||||||
font="UbuntuMono Nerd Font",
|
font="UbuntuMono Nerd Font",
|
||||||
fontsize=11,
|
fontsize=11,
|
||||||
margin_y=3,
|
margin_y=3,
|
||||||
@ -399,16 +399,16 @@ def init_widgets_list():
|
|||||||
padding_y=5,
|
padding_y=5,
|
||||||
padding_x=4,
|
padding_x=4,
|
||||||
borderwidth=3,
|
borderwidth=3,
|
||||||
active=colors["fg"],
|
active=color["fg"],
|
||||||
inactive=colors[6],
|
inactive=color["light-red"],
|
||||||
rounded=True,
|
rounded=True,
|
||||||
highlight_method="block",
|
highlight_method="block",
|
||||||
urgent_alert_method="block",
|
urgent_alert_method="block",
|
||||||
urgent_border=colors["dark-red"],
|
urgent_border=color["dark-red"],
|
||||||
this_current_screen_border=colors["dark-aqua"],
|
this_current_screen_border=color["dark-aqua"],
|
||||||
this_screen_border=colors["gray"],
|
this_screen_border=color["gray"],
|
||||||
other_current_screen_border=colors["bg0_h"],
|
other_current_screen_border=color["bg0_h"],
|
||||||
other_screen_border=colors["gray"],
|
other_screen_border=color["gray"],
|
||||||
disable_drag=True
|
disable_drag=True
|
||||||
),
|
),
|
||||||
widget.TaskList(
|
widget.TaskList(
|
||||||
@ -420,36 +420,36 @@ def init_widgets_list():
|
|||||||
padding_y=0,
|
padding_y=0,
|
||||||
margin_y=0,
|
margin_y=0,
|
||||||
fontsize=14,
|
fontsize=14,
|
||||||
border=colors["light-green"],
|
border=color["light-green"],
|
||||||
foreground=colors["dark-red"],
|
foreground=color["dark-red"],
|
||||||
margin=2,
|
margin=2,
|
||||||
txt_floating="🗗",
|
txt_floating="🗗",
|
||||||
txt_minimized=">_ ",
|
txt_minimized=">_ ",
|
||||||
borderwidth=1,
|
borderwidth=1,
|
||||||
background=colors["light-purple"],
|
background=color["light-purple"],
|
||||||
# unfocused_border = 'border'
|
# unfocused_border = 'border'
|
||||||
),
|
),
|
||||||
widget.CurrentLayoutIcon(
|
widget.CurrentLayoutIcon(
|
||||||
custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
|
custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")],
|
||||||
foreground=colors["fg"],
|
foreground=color["fg"],
|
||||||
background=colors["light-red"],
|
background=color["light-red"],
|
||||||
padding=0,
|
padding=0,
|
||||||
scale=0.7,
|
scale=0.7,
|
||||||
),
|
),
|
||||||
widget.CurrentLayout(
|
widget.CurrentLayout(
|
||||||
font="Noto Sans Bold",
|
font="Noto Sans Bold",
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
foreground=colors["fg"],
|
foreground=color["fg"],
|
||||||
background=colors["light-red"],
|
background=color["light-red"],
|
||||||
),
|
),
|
||||||
widget.Net(
|
widget.Net(
|
||||||
font="Noto Sans",
|
font="Noto Sans",
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
# Here enter your network name
|
# Here enter your network name
|
||||||
interface=["wlp6s0"],
|
interface=["wlp2s0"],
|
||||||
format="{down} ↓↑ {up}",
|
format="{down} ↓↑ {up}",
|
||||||
foreground=colors["fg"],
|
foreground=color["fg"],
|
||||||
background=colors["light-blue"],
|
background=color["light-blue"],
|
||||||
padding=0,
|
padding=0,
|
||||||
),
|
),
|
||||||
widget.CPU(
|
widget.CPU(
|
||||||
@ -457,8 +457,8 @@ def init_widgets_list():
|
|||||||
# format = '{MemUsed}M/{MemTotal}M',
|
# format = '{MemUsed}M/{MemTotal}M',
|
||||||
update_interval=1,
|
update_interval=1,
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
foreground=colors["fg"],
|
foreground=color["fg"],
|
||||||
background=colors["light-orange"],
|
background=color["light-orange"],
|
||||||
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(myTerm + " -e htop")},
|
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(myTerm + " -e htop")},
|
||||||
),
|
),
|
||||||
widget.Memory(
|
widget.Memory(
|
||||||
@ -467,17 +467,17 @@ def init_widgets_list():
|
|||||||
update_interval=1,
|
update_interval=1,
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
measure_mem="M",
|
measure_mem="M",
|
||||||
foreground=colors["fg"],
|
foreground=color["fg"],
|
||||||
background=colors["gray"],
|
background=color["gray"],
|
||||||
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(myTerm + " -e htop")},
|
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(myTerm + " -e htop")},
|
||||||
),
|
),
|
||||||
widget.Clock(
|
widget.Clock(
|
||||||
foreground=colors["light-red"],
|
foreground=color["light-red"],
|
||||||
background=colors["light-yellow"],
|
background=color["light-yellow"],
|
||||||
fontsize=12,
|
fontsize=12,
|
||||||
format="%Y-%m-%d %H:%M",
|
format="%Y-%m-%d %H:%M",
|
||||||
),
|
),
|
||||||
widget.Systray(background=colors["dark-blue"], icon_size=20, padding=4),
|
widget.Systray(background=color["dark-blue"], icon_size=20, padding=4),
|
||||||
]
|
]
|
||||||
return widgets_list
|
return widgets_list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user