polybar-scripts/polybar-scripts/updates-fedora
Kevin Baisas a0f412605d updates-fedora: small fixes 2019-03-03 18:20:19 +01:00
..
screenshots updates-fedora: add script 2019-02-21 17:17:45 +01:00
README.md write the sudo instructions more clearly 2019-02-24 18:26:46 +01:00
updates-fedora.sh updates-fedora: small fixes 2019-03-03 18:20:19 +01:00

README.md

Script: updates-fedora

A script that shows if there are updates for Fedora or dnf based distributions.

updates-fedora

Configuration

You have to add the dnf command to the /etc/sudoers NOPASSWD of your user:

user ALL=(ALL) NOPASSWD: /usr/bin/dnf

Module

[module/updates-fedora]
type = custom/script
exec = ~/polybar-scripts/updates-fedora.sh
interval = 600