summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-18 23:13:17 +0300
committerThanosApollo <[email protected]>2022-10-18 23:13:17 +0300
commit9534e6497465b34093834a8c4a2e27ba1bcd7a20 (patch)
tree8e81a97aaeefde54ce5da94dae39e017bc26768a /.config
parenteb4c92176446461b6adc284ca81e88f691f5c062 (diff)
Change bar and colors
Diffstat (limited to '.config')
-rw-r--r--.config/qtile/config.py117
1 files changed, 59 insertions, 58 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 4332148..39d3ece 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -5,7 +5,7 @@ from libqtile.config import Click, Drag, Group, Match, Screen, Rule
from libqtile.command import lazy
from keys import MyKeys
from libqtile.dgroups import simple_key_binder
-from colors import gruvbox, nord_fox, my_colors
+from colors import gruvbox, nord_fox, my_colors, dracula
from spotify_widget import Spotify
@hook.subscribe.startup_once
@@ -64,62 +64,50 @@ def init_widgets_defaults():
return dict(font="Noto Sans",
fontsize = 12,
padding = 2,
- background=my_colors["black"])
+ foreground =dracula["fg"],
+ background = dracula["bg"]
+ )
widget_defaults = init_widgets_defaults()
def init_widgets_list():
widgets_list = [
- widget.Sep(
- linewidth = 1,
- padding = 6,
- foreground = my_colors["black2"],
- background = my_colors["black"]
+ widget.Spacer(
+ length=7,
),
- widget.Image(
- filename = "~/.config/qtile/caduceus.jpg",
- scale = "True",
+ # widget.Image(
+ # filename = "~/.config/qtile/caduceus.jpg",
+ # scale = "True",
+ # ),
+ widget.Spacer(
+ length=7,
),
widget.GroupBox(
font="FontAwesome",
fontsize = 20,
- margin_y = 3,
- margin_x = 0,
- padding_y = 6,
- padding_x = 5,
+ padding = 3,
+ margin = 4,
borderwidth = 1,
- disable_drag = True,
- active = my_colors["blue"],
- inactive = my_colors["grey"],
+ active = dracula["cyan"],
+ inactive = dracula["curr"],
rounded = False,
- highlight_color = my_colors["black"],
highlight_method = "line",
- this_current_screen_border = my_colors["red"],
- other_current_screen_border = my_colors["grey"],
- foreground = my_colors["black"],
- background = my_colors["black"],
- ),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = my_colors["black"]
+ this_current_screen_border = dracula["red"],
+ other_current_screen_border = dracula["curr"],
),
widget.CurrentLayout(
font = "Noto Sans Bold",
- foreground = my_colors["orange"],
- background = my_colors["black"]
+ foreground = dracula["fg"],
+ background = "#5B4B8A",
),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = my_colors["black"]
+ widget.Spacer(
+ length=5
),
- widget.WindowName(font="Noto Sans",
+ widget.WindowName(
+ font="JetBrains Mono Bold",
fontsize = 12,
- foreground = my_colors["green"],
- background = my_colors["black"],
+ foreground = dracula["green"],
+ background = dracula["bg"]
),
#widget.Notify(
# font = "sansmono",
@@ -149,17 +137,21 @@ def init_widgets_list():
linewidth = 1,
padding = 10,
foreground = my_colors["black2"],
- background = my_colors["black"]
+ background = dracula["bg"]
),
Spotify(
fontsize = 16,
- color = my_colors["green"],
+ background = dracula["bg"],
+ color = dracula["green"],
fmt = '{}',
+ font = "JetBrains Mono Bold"
),
widget.Volume(
fontsize = 16,
fmt = '|{}| ' ,
- foreground = my_colors['green'],
+ background = dracula["bg"],
+ foreground = dracula['purple'],
+ font = "JetBrains Mono Bold"
),
# widget.Mpris2(
# fontsize= 16,
@@ -170,48 +162,57 @@ def init_widgets_list():
linewidth = 1,
padding = 10,
foreground = my_colors["black2"],
- background = my_colors["black"]
+ background = dracula["bg"]
),
widget.Memory(
measure_mem="G",
fontsize=15,
- graph_color = my_colors["blue"]
+ foreground = dracula["cyan"],
+ background = dracula["bg"],
+ font='JetBrains Mono Bold',
),
widget.MemoryGraph(
- type='box'
+ type='box',
+ graph_color = dracula["cyan"],
+ foreground = dracula["fg"],
+ background = dracula["bg"],
),
widget.Sep(
linewidth = 1,
padding = 10,
foreground = my_colors["black2"],
- background = my_colors["black"]
+ background = dracula["bg"],
),
widget.ThermalSensor(
threshold=50,
fontsize=15,
+ font='JetBrains Mono Bold',
+ foreground = dracula["cyan"],
+ background = dracula["bg"],
),
widget.CPUGraph(
type='box',
- graph_color = my_colors["blue"]
+ graph_color = dracula["cyan"],
+ background = dracula["bg"],
),
widget.Sep(
linewidth = 1,
padding = 10,
foreground = my_colors["black2"],
- background = my_colors["black"]
+ background = dracula["bg"],
),
widget.TextBox(
font="FontAwesome",
text="  ",
- foreground=my_colors["blue"],
- background=my_colors["black"],
- padding = 0,
+ foreground=dracula["orange"],
+ background=dracula["bg"],
+ padding = 2,
fontsize=18
),
widget.Clock(
- font='Mono',
- foreground = my_colors["white"],
- background = my_colors["black"],
+ font='JetBrains Mono Bold',
+ foreground = dracula["cyan"],
+ background = dracula["bg"],
fontsize = 18,
format="%d-%m-%Y | %H:%M"
),
@@ -219,10 +220,10 @@ def init_widgets_list():
linewidth = 1,
padding = 3,
foreground = my_colors["black2"],
- background = my_colors["black"],
+ background = dracula["bg"]
),
widget.Systray(
- background= my_colors["black"],
+ background= dracula["bg"],
icon_size=21,
padding = 10
),
@@ -230,7 +231,7 @@ def init_widgets_list():
linewidth = 1,
padding = 20,
foreground = my_colors["black2"],
- background = my_colors["black"]
+ background = dracula["bg"]
),
]
@@ -252,8 +253,8 @@ widgets_screen2 = init_widgets_screen2()
def init_screens():
- return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), size=33, opacity=0.8)),
- Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=26, opacity=0.8))]
+ return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), size=33, margin = [6,20,3,20])),
+ Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=28, margin = 5))]