Adjusted system update widget for switching from Arch to Gentoo

This commit is contained in:
Emma Nora Theuer 2024-05-29 00:43:01 +02:00
parent d4876e4dd9
commit d1668cf480
2 changed files with 4 additions and 4 deletions

View file

@ -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(

View file

@ -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(