/tmux-pacman-notifier

Pacman update notifier for TMUX.

Primary LanguageShellMIT LicenseMIT

tmux-pacman-notifier

Pacman update notifier for TMUX.

Usage

Add #{pacman_updates} to your status-left or status-right in ~/.tmux.conf, e.g:

set -g status-right '#{pacman_updates}

Customisation

Notifier Format

Set a custom format for your notifier with:

set -g @pacman-update-format '#[fg=colour3,bg=colour0]C#[fg=color1] #{combined} '

You can get the number of updates with #{pacman}, #{aur}, and #{combined}, and use colours with #[fg=colourX,bg=colourX].

Configuring when to show the notifier

You can set when the notifier should show with:

set -g @pacman-update-show-on 'any'

Valid options are any, pacman, aur, and always.

Installation with TPM

  1. Add the following line to ~/.tmux.conf:
set -g @plugin 'HazmatDrone/tmux-pacman-notifier'
  1. Refresh your plugins (default prefix + I)

License

MIT