checkupdate is a tool to manage Fedora updates and integrate with Waybar. It provides a menu to download, install, and list updates.
pkcon and flatpaktar czvf checkupdate-2.0.tar.gz checkupdate/ .spec file and the source tarball in the appropriate directories in your RPM build environment (e.g., ~/rpmbuild/SPECS and ~/rpmbuild/SOURCES). rpmbuild:
rpmbuild -ba ~/rpmbuild/SPECS/checkupdate.spec ~/rpmbuild/RPMS/noarch directory. sudo rpm -ivh ~/rpmbuild/RPMS/noarch/checkupdate-2.0-1.noarch.rpm git clone https://example.com/checkupdate.git cd checkupdate sudo dnf install python3 PackageKit libnotify sudo install -m 0755 checkupdate.py /usr/bin/checkupdate sudo install -d /usr/share/checkupdate sudo install -m 0644 check_for_updates.py /usr/share/checkupdate/ sudo install -m 0644 update_menu.py /usr/share/checkupdate/ Add the following configuration to your Waybar config file:
"custom/updater": { "exec": "python3 /usr/share/checkupdate/check_for_updates.py", "interval": 600, "click-left": "python3 /usr/share/checkupdate/update_menu.py" }
You can also run the script manually to check for updates:
python3 /usr/share/checkupdate/check_for_updates.py
This project is licensed under the GPLv3 License - see the LICENSE file for details.
git checkout -b feature/fooBar)git commit -am 'Add some fooBar')git push origin feature/fooBar)