From cf3150cd2ca8c8e2677bf5ffd4f72ac67936a1da Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 9 Jan 2024 11:24:18 +0200 Subject: qtile:(config.py) Redo using monokai colorscheme --- .config/qtile/config.py | 60 +++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 29 deletions(-) (limited to '.config/qtile/config.py') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 9214be7..c698120 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -8,6 +8,7 @@ from libqtile.config import Key, KeyChord from libqtile.command import lazy from libqtile.config import Click, Drag from colors import dracula +from colors import monokai hostname = socket.gethostname() @@ -29,8 +30,8 @@ def init_layout_theme(): """Layout default theme.""" return {"margin": 5, "border_width": 2, - "border_focus": dracula["cyan"], - "border_normal": dracula["bg"], + "border_focus": monokai["yellow"], + "border_normal": monokai["bg"], } @hook.subscribe.startup_once @@ -56,8 +57,8 @@ def init_widgets_defaults(): return dict(font="JetBrains Mono", fontsize=14, padding=2, - foreground=dracula["fg"], - background=dracula["bg"] + foreground=monokai["fg"], + background=monokai["bg"] ) @@ -68,7 +69,7 @@ def init_widgets_list(): widgets_list = [ widget.Spacer(length=7), widget.Image( - filename="~/.config/qtile/Gentoo2.png", + filename="~/.config/qtile/larry.png", scale="True", margin=2,), widget.Spacer(length=7,), @@ -78,22 +79,23 @@ def init_widgets_list(): padding=3, margin=4, borderwidth=1, - active=dracula["cyan"], - inactive=dracula["curr"], + active=monokai["cyan"], + inactive=monokai["grey"], rounded=False, highlight_method="line", - this_current_screen_border=dracula["red"], - other_current_screen_border=dracula["curr"],), + this_current_screen_border=monokai["red"], + other_current_screen_border=monokai["grey"],), widget.CurrentLayout( font="Noto Sans Bold", - foreground=dracula["fg"], - background="#5B4B8A",), + foreground=monokai["fg"], + # background="#5B4B8A", + background=monokai["magenta"],), widget.Spacer(length=5), widget.WindowName( font="JetBrains Mono Bold", fontsize=12, - foreground=dracula["green"], - background=dracula["bg"],), + foreground=monokai["green"], + background=monokai["bg"],), widget.Spacer(length=10,), widget.Image( filename="~/.config/qtile/volume1.png", @@ -102,8 +104,8 @@ def init_widgets_list(): widget.Volume( fontsize=15, fmt='{} ', - background=dracula["bg"], - foreground=dracula['orange'], + background=monokai["bg"], + foreground=monokai['orange'], font="JetBrains Mono", margin=10,), widget.Spacer(length=7,padding=10,), @@ -113,42 +115,42 @@ def init_widgets_list(): widget.Memory( measure_mem="G", fontsize=15, - foreground=dracula["cyan"], - background=dracula["bg"], + foreground=monokai["cyan"], + background=monokai["bg"], font='JetBrains Mono Bold',), widget.MemoryGraph( type='box', - graph_color=dracula["cyan"], - foreground=dracula["fg"], - background=dracula["bg"],), + graph_color=monokai["cyan"], + foreground=monokai["fg"], + background=monokai["bg"],), widget.Spacer(length=7), widget.Image(filename="~/.config/qtile/cpu1.png", scale=True,), widget.ThermalSensor( threshold=50, fontsize=15, font='JetBrains Mono Bold', - foreground=dracula["cyan"], - background=dracula["bg"],), + foreground=monokai["cyan"], + background=monokai["bg"],), widget.CPUGraph( type='box', - graph_color=dracula["cyan"], - background=dracula["bg"],), + graph_color=monokai["cyan"], + background=monokai["bg"],), widget.Spacer(length=5), widget.TextBox( font="FontAwesome", text="  ", - foreground=dracula["orange"], - background=dracula["bg"], + foreground=monokai["orange"], + background=monokai["bg"], padding=2, fontsize=18), widget.Clock( font='JetBrains Mono Bold', - foreground=dracula["cyan"], - background=dracula["bg"], + foreground=monokai["cyan"], + background=monokai["bg"], fontsize=16, format="%A %d/%m | %H:%M"), widget.Spacer(length=6), - widget.Systray(background=dracula["bg"], + widget.Systray(background=monokai["bg"], icon_size=20, padding=10, margin=10,), -- cgit v1.2.3