summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-19 18:10:12 +0300
committerThanosApollo <[email protected]>2022-10-19 18:10:12 +0300
commit548e9644c14b8602dd8d9bed0cf55b5e94162651 (patch)
treed6efd1997177930131dd93e2844ddb7d2a741a86 /.config
parentd8c45201ae138322cffb94618765bcf6661aec04 (diff)
Update rms image and widgets
Diffstat (limited to '.config')
-rw-r--r--.config/qtile/config.py105
1 files changed, 99 insertions, 6 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index e1e01d0..4d577b1 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -76,7 +76,7 @@ def init_widgets_list():
length=7,
),
widget.Image(
- filename = "~/Pictures/rms/rms.png",
+ filename = "~/.config/qtile/rms.png",
scale = "True",
),
widget.Spacer(
@@ -140,18 +140,18 @@ def init_widgets_list():
background = dracula["bg"]
),
Spotify(
- fontsize = 16,
+ fontsize = 12,
background = dracula["bg"],
color = dracula["green"],
fmt = '{}',
font = "JetBrains Mono Bold"
),
widget.Volume(
- fontsize = 16,
+ fontsize = 13,
fmt = '|{}| ' ,
background = dracula["bg"],
foreground = dracula['purple'],
- font = "JetBrains Mono Bold"
+ font = "JetBrains Mono"
),
# widget.Mpris2(
# fontsize= 16,
@@ -236,6 +236,99 @@ def init_widgets_list():
]
return widgets_list
+def init_bot_widgets():
+ bot_widgets = [
+ widget.Spacer(
+ length=7,
+ ),
+ widget.Image(
+ filename = "~/Pictures/rms/rms.png",
+ scale = "True",
+ ),
+ widget.Spacer(
+ length=7,
+ ),
+ widget.Spacer(
+ length=5
+ ),
+ widget.WindowName(
+ font="JetBrains Mono Bold",
+ fontsize = 12,
+ foreground = dracula["green"],
+ background = dracula["bg"]
+ ),
+ widget.Spacer(
+ length=7,
+ ),
+ widget.Sep(
+ linewidth = 1,
+ padding = 10,
+ foreground = my_colors["black2"],
+ background = dracula["bg"]
+ ),
+ widget.Memory(
+ measure_mem="G",
+ fontsize=15,
+ foreground = dracula["cyan"],
+ background = dracula["bg"],
+ font='JetBrains Mono Bold',
+ ),
+ widget.MemoryGraph(
+ type='box',
+ graph_color = dracula["cyan"],
+ foreground = dracula["fg"],
+ background = dracula["bg"],
+ ),
+ widget.Sep(
+ linewidth = 1,
+ padding = 10,
+ foreground = my_colors["black2"],
+ 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 = dracula["cyan"],
+ background = dracula["bg"],
+ ),
+ widget.Sep(
+ linewidth = 1,
+ padding = 10,
+ foreground = my_colors["black2"],
+ background = dracula["bg"],
+ ),
+
+ widget.TextBox(
+ font="FontAwesome",
+ text="  ",
+ foreground=dracula["orange"],
+ background=dracula["bg"],
+ padding = 2,
+ fontsize=18
+ ),
+ widget.Clock(
+ font='JetBrains Mono Bold',
+ foreground = dracula["cyan"],
+ background = dracula["bg"],
+ fontsize = 18,
+ format="%d-%m-%Y | %H:%M"
+ ),
+ widget.Sep(
+ linewidth = 1,
+ padding = 3,
+ foreground = my_colors["black2"],
+ background = dracula["bg"]
+ ),
+
+ ]
+ return bot_widgets
+
widgets_list = init_widgets_list()
@@ -253,8 +346,8 @@ widgets_screen2 = init_widgets_screen2()
def init_screens():
- 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))]
+ 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 = 7))]