1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-23 16:41:31 +00:00
Dotfiles/.config/polybar/polybar-scripts/updates-fedora
2020-07-27 07:59:00 +03:00
..
screenshots add all dotfiles 2020-07-27 07:59:00 +03:00
README.md add all dotfiles 2020-07-27 07:59:00 +03:00
updates-fedora.sh add all dotfiles 2020-07-27 07:59:00 +03:00

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