improved qtile

This commit is contained in:
paul-loedige
2023-10-26 18:31:54 +02:00
parent 1084c5de3a
commit 313a0804c6
5 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ from Widgets import Left_widgets, volume_widget, System_widgets, end_widgets, La
widget_defaults = dict(
background=base_color,
font='Ubuntu Mono',
font='UbuntuMono Nerd Font',
fontsize=18,
padding=1 if chassis_type == ChassisType.LAPTOP else 3,
padding=1 if chassis_type == ChassisType.LAPTOP else 5,
)
extension_defaults = widget_defaults.copy()
+8 -9
View File
@@ -7,15 +7,14 @@ import re
from defines import mod,term
from Keys import keys
group_names = [("","Home", 'h',{'layout': 'monadtall'}),
("","Browser", 'f',{'layout': 'monadtall'}),
("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
("","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
("","Documents", 'l',{'layout': 'monadtall'}),
("","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
("","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
("","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
("","Planta Pulse", 'p',{'layout': 'monadtall', 'matches' : [Match(wm_class="surf")]}),
group_names = [(" ","Home", 'h',{'layout': 'monadtall'}),
(" ","Browser", 'f',{'layout': 'monadtall'}),
("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
(" ","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
(" ","Documents", 'l',{'layout': 'monadtall'}),
("󰝚 ","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
(" ","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
("󰙯 ","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
("","etc1", '1', {'layout': 'monadtall'}),
("","etc2", '2', {'layout': 'monadtall'}),
("","etc3", '3', {'layout': 'monadtall'}),
+7 -6
View File
@@ -38,7 +38,7 @@ def Left_widgets(size,fontsize,prompt=False):
),
*powerline_arrow('r',base_color,blue_color,size),
widget.TextBox(
text='',
text=' ',
foreground=light_foreground_color,
fontsize=fontsize,
background=blue_color
@@ -47,6 +47,7 @@ def Left_widgets(size,fontsize,prompt=False):
widget.GroupBox(
fontsize=fontsize,
rounded=False,
disable_drag=True,
active=light_foreground_color,
inactive=dark_foreground_color,
highlight_method='block',
@@ -103,7 +104,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
return [
*powerline_arrow('l',prev_color,orange_color,size),
widget.TextBox(
text='',
text='󰈸',
foreground=light_foreground_color,
background=orange_color,
fontsize=fontsize+6
@@ -117,7 +118,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
),
*powerline_arrow('l',orange_color,green_color,size),
widget.TextBox(
text='',
text='',
foreground=light_foreground_color,
background=green_color,
fontsize=fontsize+6
@@ -131,7 +132,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
),
*powerline_arrow('l',green_color,yellow_color,size),
widget.TextBox(
text='',
text='󰍛 ',
foreground=light_foreground_color,
background=yellow_color,
fontsize=fontsize+6
@@ -145,7 +146,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
),
*powerline_arrow('l',yellow_color,last_color,size),
widget.TextBox(
text='',
text='󰈀 ',
foreground=light_foreground_color,
background=blue_color,
fontsize=fontsize+6
@@ -174,7 +175,7 @@ def end_widgets(prev_color,size,fontsize):
return [
*powerline_arrow('l',prev_color,purple_color,size),
widget.TextBox(
text='',
text='',
foreground=light_foreground_color,
background=purple_color,
fontsize=fontsize