cinnamon:update-cinnamon-spices-and-restart
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cinnamon:update-cinnamon-spices-and-restart [2024/02/02 09:06] – created ignasi | cinnamon:update-cinnamon-spices-and-restart [2025/03/27 18:17] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Update Cinnamon Spices and Restart Cinnamon ====== | ====== Update Cinnamon Spices and Restart Cinnamon ====== | ||
- | | + | |
- | dbus-send --type=method_call --print-reply --dest=org.Cinnamon / | + | # |
+ | |||
+ | if [ " | ||
+ | |||
+ | if nc -zw1 google.com 443 ; then | ||
+ | |||
+ | positivo="" | ||
+ | |||
+ | for tipo in applet extension theme desklet; do | ||
+ | positivo=$positivo$(cinnamon-spice-updater --list-simple $tipo) | ||
+ | done | ||
+ | |||
+ | if [ -n " | ||
+ | zenity --notification --icon=" | ||
+ | --text=" | ||
+ | echo " | ||
+ | cinnamon-spice-updater | ||
+ | sleep 6 | ||
+ | dbus-send --type=method_call --print-reply --dest=org.Cinnamon | ||
+ | / | ||
+ | else | ||
+ | # zenity --notification --icon=" | ||
+ | # --text=" | ||
+ | echo "Las Especias Están Frescas" | ||
+ | fi | ||
+ | fi | ||
+ | |||
+ | fi |
cinnamon/update-cinnamon-spices-and-restart.1706864810.txt.gz · Last modified: (external edit)