Adjusted system update widget for switching from Arch to Gentoo
This commit is contained in:
parent
d4876e4dd9
commit
d1668cf480
2 changed files with 4 additions and 4 deletions
|
@ -432,10 +432,10 @@ def init_widgets_list():
|
||||||
),
|
),
|
||||||
widget.CheckUpdates(
|
widget.CheckUpdates(
|
||||||
update_interval = 1800,
|
update_interval = 1800,
|
||||||
distro = "Arch",
|
distro = "Gentoo_eix",
|
||||||
display_format = "{updates} Updates",
|
display_format = "{updates} Updates",
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
execute = 'alacritty -e doas pacman -Syu',
|
execute = 'alacritty -e doas emerge --sync && doas emerge -auDN @world && doas emerge -acv',
|
||||||
background = colors[5]
|
background = colors[5]
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
|
|
|
@ -335,10 +335,10 @@ def init_widgets_list():
|
||||||
),
|
),
|
||||||
widget.CheckUpdates(
|
widget.CheckUpdates(
|
||||||
update_interval = 1800,
|
update_interval = 1800,
|
||||||
distro = "Arch",
|
distro = "Gentoo_eix",
|
||||||
display_format = "{updates} Updates",
|
display_format = "{updates} Updates",
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
execute = 'alacritty -e doas pacman -Syu',
|
execute = 'alacritty -e doas emerge --sync && doas emerge -auDN @world && doas emerge -acv',
|
||||||
background = colors[5]
|
background = colors[5]
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
|
|
Loading…
Reference in a new issue