Dotfiles/.config/polybar/themes/monolit-dracula/polybar-scripts/updates-fedora
horhik aec58dae23 split polybar by themes 2020-09-05 14:43:37 +03:00
..
screenshots split polybar by themes 2020-09-05 14:43:37 +03:00
README.md split polybar by themes 2020-09-05 14:43:37 +03:00
updates-fedora.sh split polybar by themes 2020-09-05 14:43:37 +03: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