Depending on how you've installed COSMIC Desktop, the Weather applet may show up in your app store by default. In COSMIC Store it should be under the "COSMIC Applets" category.
If the applet does not show up in your app store, you'll need to add cosmic-flatpak as a source:
flatpak remote-add --if-not-exists --user cosmic https://apt.pop-os.org/cosmic/cosmic.flatpakrepoThen, proceed to your preferred app store and search for Weather applet.
The applet can be installed using the following steps:
sudo apt install libxkbcommon-dev just
git clone https://github.com/cosmic-utils/cosmic-ext-applet-weather.git
cd cosmic-ext-applet-weather
just build
sudo just installlibxkbcommon-dev is required by smithay-client-toolkit
The applet provides a graphical interface for entering coordinates as well as a toggle to get it automatically based on your IP address. There is also a unit selector to choose between Celsius and Fahrenheit.
To refresh the applet simply run pkill cosmic-panel
To uninstall files installed by just install, run:
sudo just uninstall

