summaryrefslogtreecommitdiff
path: root/.config/qtile/config.py
diff options
context:
space:
mode:
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r--.config/qtile/config.py45
1 files changed, 17 insertions, 28 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 69b1f3d..18bfec4 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -7,7 +7,7 @@ from libqtile.dgroups import simple_key_binder
from libqtile.config import Key, KeyChord
from libqtile.command import lazy
from libqtile.config import Click, Drag
-from colors import monokai
+from colors import monokai,my_colors
hostname = socket.gethostname()
@@ -30,7 +30,7 @@ def init_layout_theme():
return {"margin": 5,
"border_width": 2,
"border_focus": monokai["yellow"],
- "border_normal": monokai["bg"],
+ "border_normal": my_colors["black"],
}
@hook.subscribe.startup_once
@@ -59,8 +59,7 @@ def init_widgets_defaults():
fontsize=14,
padding=2,
foreground=monokai["fg"],
- background=monokai["bg"]
- )
+ background=my_colors["black"],)
widget_defaults = init_widgets_defaults()
@@ -70,7 +69,7 @@ def init_widgets_list():
widgets_list = [
widget.Spacer(length=7),
widget.Image(
- filename="~/.config/qtile/larry.png",
+ filename="~/.config/qtile/larry2.png",
scale="True",
margin=2,),
widget.Spacer(length=7,),
@@ -80,22 +79,20 @@ def init_widgets_list():
padding=3,
margin=4,
borderwidth=1,
- active=monokai["orange"],
+ active=monokai["green"],
inactive=monokai["grey"],
rounded=False,
highlight_method="line",
this_current_screen_border=monokai["red"],
other_current_screen_border=monokai["grey"],),
widget.CurrentLayout(
- font="Noto Sans Bold",
foreground=monokai["fg"],
- background=monokai["magenta"],),
+ background=my_colors["black2"],),
widget.Spacer(length=5),
widget.WindowName(
font="JetBrains Mono Bold",
fontsize=12,
- foreground=monokai["green"],
- background=monokai["bg"],),
+ foreground=monokai["green"],),
widget.Spacer(length=10,),
widget.Image(
filename="~/.config/qtile/volume1.png",
@@ -104,56 +101,48 @@ def init_widgets_list():
widget.Volume(
fontsize=15,
fmt='{} ',
- background=monokai["bg"],
foreground=monokai['yellow'],
- font="JetBrains Mono",
margin=10,),
widget.Spacer(length=7,padding=10,),
widget.Image(
filename="~/.config/qtile/pram2.png",
scale=True,),
widget.Memory(
+ font="JetBrains Mono Bold",
measure_mem="G",
fontsize=15,
- foreground=monokai["dark-cyan"],
- background=monokai["bg"],
- font='JetBrains Mono Bold',),
+ foreground=monokai["dark-cyan"],),
widget.MemoryGraph(
type='box',
graph_color=monokai["yellow"],
- foreground=monokai["fg"],
- background=monokai["bg"],),
+ foreground=monokai["fg"],),
widget.Spacer(length=7),
widget.Image(filename="~/.config/qtile/cpu1.png", scale=True,),
widget.ThermalSensor(
+ font="JetBrains Mono Bold",
threshold=50,
fontsize=15,
- font='JetBrains Mono Bold',
- foreground=monokai["dark-cyan"],
- background=monokai["bg"],),
+ foreground=monokai["dark-cyan"],),
widget.CPUGraph(
type='box',
- graph_color=monokai["yellow"],
- background=monokai["bg"],),
+ graph_color=monokai["yellow"],),
widget.Spacer(length=5),
widget.TextBox(
font="FontAwesome",
text="  ",
foreground=monokai["orange"],
- background=monokai["bg"],
padding=2,
fontsize=18),
widget.Clock(
font='JetBrains Mono Bold',
foreground=monokai["violet"],
- background=monokai["bg"],
fontsize=16,
format="%A %d/%m | %H:%M"),
widget.Spacer(length=6),
- widget.Systray(background=monokai["bg"],
- icon_size=20,
- padding=10,
- margin=10,),
+ widget.Systray(
+ icon_size=20,
+ padding=10,
+ margin=10,),
widget.Spacer(length=5),
]
return widgets_list