summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/qtile/config.py147
1 files changed, 14 insertions, 133 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 4d577b1..5d62a1d 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -39,20 +39,18 @@ for i in range(len(group_names)):
def init_layout_theme():
return {"margin":5,
"border_width":2,
- "border_focus": "#5e81ac",
- "border_normal": "#4c566a"
+ "border_focus": dracula["cyan"],
+ "border_normal": dracula["bg"],
}
layout_theme = init_layout_theme()
layouts = [
- #layout.MonadTall(margin=8, border_width=2, border_focus="#5e81ac", border_normal="#4c566a"),
layout.MonadTall(**layout_theme),
- #layout.MonadWide(margin=8, border_width=2, border_focus="#5e81ac", border_normal="#4c566a"),
- # layout.MonadWide(**layout_theme),
- # layout.Matrix(**layout_theme),
- # layout.Bsp(**layout_theme),
+ #layout.MonadWide(**layout_theme),
+ #layout.Matrix(**layout_theme),
+ #layout.Bsp(**layout_theme),
layout.Floating(**layout_theme),
# layout.RatioTile(**layout_theme),
layout.Max(**layout_theme)
@@ -133,11 +131,8 @@ def init_widgets_list():
# padding = 0,
# fontsize=14
# ),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = dracula["bg"]
+ widget.Spacer(
+ length=5
),
Spotify(
fontsize = 12,
@@ -158,12 +153,6 @@ def init_widgets_list():
# background = my_colors["red"],
# objname="org.mpris.MediaPlayer2.spotify"
# ),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = dracula["bg"]
- ),
widget.Memory(
measure_mem="G",
fontsize=15,
@@ -177,13 +166,10 @@ def init_widgets_list():
foreground = dracula["fg"],
background = dracula["bg"],
),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = dracula["bg"],
+ widget.Spacer(
+ length=7
),
- widget.ThermalSensor(
+ widget.ThermalSensor(
threshold=50,
fontsize=15,
font='JetBrains Mono Bold',
@@ -195,11 +181,8 @@ def init_widgets_list():
graph_color = dracula["cyan"],
background = dracula["bg"],
),
- widget.Sep(
- linewidth = 1,
- padding = 10,
- foreground = my_colors["black2"],
- background = dracula["bg"],
+ widget.Spacer(
+ length=5
),
widget.TextBox(
font="FontAwesome",
@@ -216,119 +199,17 @@ def init_widgets_list():
fontsize = 18,
format="%d-%m-%Y | %H:%M"
),
- widget.Sep(
- linewidth = 1,
- padding = 3,
- foreground = my_colors["black2"],
- background = dracula["bg"]
+ widget.Spacer(
+ length=5
),
widget.Systray(
background= dracula["bg"],
icon_size=21,
padding = 10
),
- widget.Sep(
- linewidth = 1,
- padding = 20,
- foreground = my_colors["black2"],
- background = dracula["bg"]
- ),
]
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()