Skip to content

gralito/UpYaY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

UpYaY v1.0

System updating for EndeavourOS (Arch-based) systems using Yay, providing notifications and a summary of updates.

Features

  • On-demand updates:
  • Visual Notifications: Get notifications for different events
  • Update Summary: Detailed summary of all updated packages
  • Configurable: Easy to configure through a config file
  • Cache Cleaning: Automatically cleans pacman and yay cache
  • Log Rotation: Performs log rotation on pacman logs

Requirements

The following packages are required:

  • yay : AUR package management
  • yad : Displaying the updates summary
  • dunst : Desktop notifications -- will be replaced by dunst soon
  • logrotate : Log rotation

The installation script will check for these dependencies and offer to install missing packages.

Installation

./install.sh

The installer provides options to install or uninstall.

Configuration

A configuration file is created at ~/.config/upyay/config where you can customize:

  • Notification settings
  • Icons
  • Update behavior
  • Display settings
  • Localization for your language
  • Additionnal function if you're running EndeavourOS

Language Configuration

Important: If yay's output is not in English, you need to change the NOTHING_TO_DO_STRING in the configuration file to match your language's equivalent for "there is nothing to do".

Sudo Configuration (Optional)

If you encounter permission issues, you may want to configure passwordless sudo. This represents a security risk and should be carefully considered:

sudo visudo

Add this line (replace USERNAME with your actual username):

USERNAME ALL=(ALL) NOPASSWD: ALL

Logs

Detailed information about updates is stored in /tmp/upyay.log

Uninstallation

To uninstall:

./install.sh

Then select option 2 for uninstallation.

Security Considerations

  • This script runs with sudo privileges to perform system updates
  • Consider the security implications of automatic updates and passwordless sudo
  • This is primarily designed for personal desktop systems with a single user

Upcoming

A new version will be prepared soon with a new feature :

  • An argument option to use UpYaY with -<short-option & --<long-option> feature
  • Any suggestion brought by you.

2025 by Julien Roussel

About

a yay wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages