improved qtile
This commit is contained in:
@@ -6,9 +6,9 @@ from Widgets import Left_widgets, volume_widget, System_widgets, end_widgets, La
|
|||||||
|
|
||||||
widget_defaults = dict(
|
widget_defaults = dict(
|
||||||
background=base_color,
|
background=base_color,
|
||||||
font='Ubuntu Mono',
|
font='UbuntuMono Nerd Font',
|
||||||
fontsize=18,
|
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()
|
extension_defaults = widget_defaults.copy()
|
||||||
|
|
||||||
|
|||||||
@@ -9,13 +9,12 @@ from Keys import keys
|
|||||||
|
|
||||||
group_names = [(" ","Home", 'h',{'layout': 'monadtall'}),
|
group_names = [(" ","Home", 'h',{'layout': 'monadtall'}),
|
||||||
(" ","Browser", 'f',{'layout': 'monadtall'}),
|
(" ","Browser", 'f',{'layout': 'monadtall'}),
|
||||||
("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
|
(" ","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
|
||||||
(" ","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
|
(" ","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
|
||||||
(" ","Documents", 'l',{'layout': 'monadtall'}),
|
(" ","Documents", 'l',{'layout': 'monadtall'}),
|
||||||
("ﱘ","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
|
(" ","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
|
||||||
(" ","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
|
(" ","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
|
||||||
("ﭮ","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
|
(" ","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
|
||||||
("","Planta Pulse", 'p',{'layout': 'monadtall', 'matches' : [Match(wm_class="surf")]}),
|
|
||||||
("一","etc1", '1', {'layout': 'monadtall'}),
|
("一","etc1", '1', {'layout': 'monadtall'}),
|
||||||
("二","etc2", '2', {'layout': 'monadtall'}),
|
("二","etc2", '2', {'layout': 'monadtall'}),
|
||||||
("三","etc3", '3', {'layout': 'monadtall'}),
|
("三","etc3", '3', {'layout': 'monadtall'}),
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ def Left_widgets(size,fontsize,prompt=False):
|
|||||||
widget.GroupBox(
|
widget.GroupBox(
|
||||||
fontsize=fontsize,
|
fontsize=fontsize,
|
||||||
rounded=False,
|
rounded=False,
|
||||||
|
disable_drag=True,
|
||||||
active=light_foreground_color,
|
active=light_foreground_color,
|
||||||
inactive=dark_foreground_color,
|
inactive=dark_foreground_color,
|
||||||
highlight_method='block',
|
highlight_method='block',
|
||||||
@@ -103,7 +104,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
|
|||||||
return [
|
return [
|
||||||
*powerline_arrow('l',prev_color,orange_color,size),
|
*powerline_arrow('l',prev_color,orange_color,size),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text='',
|
text='',
|
||||||
foreground=light_foreground_color,
|
foreground=light_foreground_color,
|
||||||
background=orange_color,
|
background=orange_color,
|
||||||
fontsize=fontsize+6
|
fontsize=fontsize+6
|
||||||
@@ -117,7 +118,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
|
|||||||
),
|
),
|
||||||
*powerline_arrow('l',orange_color,green_color,size),
|
*powerline_arrow('l',orange_color,green_color,size),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text='',
|
text=' ',
|
||||||
foreground=light_foreground_color,
|
foreground=light_foreground_color,
|
||||||
background=green_color,
|
background=green_color,
|
||||||
fontsize=fontsize+6
|
fontsize=fontsize+6
|
||||||
@@ -131,7 +132,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
|
|||||||
),
|
),
|
||||||
*powerline_arrow('l',green_color,yellow_color,size),
|
*powerline_arrow('l',green_color,yellow_color,size),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text='',
|
text=' ',
|
||||||
foreground=light_foreground_color,
|
foreground=light_foreground_color,
|
||||||
background=yellow_color,
|
background=yellow_color,
|
||||||
fontsize=fontsize+6
|
fontsize=fontsize+6
|
||||||
@@ -145,7 +146,7 @@ def System_widgets(prev_color,last_color,size,fontsize):
|
|||||||
),
|
),
|
||||||
*powerline_arrow('l',yellow_color,last_color,size),
|
*powerline_arrow('l',yellow_color,last_color,size),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text='',
|
text=' ',
|
||||||
foreground=light_foreground_color,
|
foreground=light_foreground_color,
|
||||||
background=blue_color,
|
background=blue_color,
|
||||||
fontsize=fontsize+6
|
fontsize=fontsize+6
|
||||||
@@ -174,7 +175,7 @@ def end_widgets(prev_color,size,fontsize):
|
|||||||
return [
|
return [
|
||||||
*powerline_arrow('l',prev_color,purple_color,size),
|
*powerline_arrow('l',prev_color,purple_color,size),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text='ﭷ',
|
text=' ',
|
||||||
foreground=light_foreground_color,
|
foreground=light_foreground_color,
|
||||||
background=purple_color,
|
background=purple_color,
|
||||||
fontsize=fontsize
|
fontsize=fontsize
|
||||||
|
|||||||
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting updated: 143b25eb98...1e82d8c83e
Submodule zsh/.oh-my-zsh/custom/themes/powerlevel10k updated: 862440ae11...430616734a
Reference in New Issue
Block a user