removed upgradable packages widget
This commit is contained in:
@@ -426,26 +426,6 @@ def vloume_widget(prev_color,color,size,fontsize):
|
|||||||
]
|
]
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Pacman_widget
|
|
||||||
def pacman_widget(prev_color,color,size,fontsize):
|
|
||||||
return[
|
|
||||||
*powerline_arrow('l',prev_color,color,main_bar_height),
|
|
||||||
widget.Image(
|
|
||||||
filename='~/.config/qtile/icons/pacman.png',
|
|
||||||
margin=5,
|
|
||||||
background=color,
|
|
||||||
mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn(term + ' -e "sudo pacman -Sy"')},
|
|
||||||
),
|
|
||||||
widget.CheckUpdates(
|
|
||||||
colour_have_updates=dark_foreground_color,
|
|
||||||
background=color,
|
|
||||||
fontsize=fontsize,
|
|
||||||
display_format="{updates}",
|
|
||||||
mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn(term + ' -e "sudo pacman -Syu"')},
|
|
||||||
),
|
|
||||||
]
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region System_widgets
|
#region System_widgets
|
||||||
launch_htop= {'Button1': lambda qtile: qtile.cmd_spawn(term + ' -e htop')}
|
launch_htop= {'Button1': lambda qtile: qtile.cmd_spawn(term + ' -e htop')}
|
||||||
|
|
||||||
@@ -564,8 +544,7 @@ main_bar = bar.Bar([
|
|||||||
widget.Systray(fontsize=main_bar_fontsize),
|
widget.Systray(fontsize=main_bar_fontsize),
|
||||||
*vloume_widget(base_color,blue_color,main_bar_height,main_bar_fontsize),
|
*vloume_widget(base_color,blue_color,main_bar_height,main_bar_fontsize),
|
||||||
*System_widgets(blue_color,blue_color,main_bar_height,main_bar_fontsize),
|
*System_widgets(blue_color,blue_color,main_bar_height,main_bar_fontsize),
|
||||||
*pacman_widget(blue_color,red_color,main_bar_height,main_bar_fontsize),
|
*end_widgets(blue_color,main_bar_height,main_bar_fontsize),
|
||||||
*end_widgets(red_color,main_bar_height,main_bar_fontsize),
|
|
||||||
],main_bar_height)
|
],main_bar_height)
|
||||||
|
|
||||||
#left bar
|
#left bar
|
||||||
|
|||||||
Reference in New Issue
Block a user