/pactray

Pactray is a small notifier for Arch Linux (pacman) updates.

Primary LanguagePython

pactray

Pactray is a small notifier for Arch Linux (pacman) updates.

pactray-1

pactray-2

Pactray is a python process which runs in the background, checking system updates with checkupdates and auracle sync

When updates are available an icon is shown in the system tray.

Left clicking the icon will show a notification of the available updates

Right clicking will execute update_cmd (if configured)

config

default configuration

update_interval=120 #minutes between executing checks for updates)
notification_timeout=10 #seconds to show notification popup for)
icon_file=archlogo.png #absolute path to file to use as the icon)

sample custom configuration

~/.config/pactray.conf

[global]
update_cmd=/usr/bin/mate-terminal --disable-factory -e "bash -c 'pacaur -Syu || read -p \"Press [Enter] to continue\"'"

Dependencies

Dependencies Usage
auracle-git(AUR) for AUR helper functions, optional
python-gobject Python Bindings for GLib/GObject/GIO/GTK+