Pacman update notifier for TMUX.
Add #{pacman_updates}
to your status-left or status-right in ~/.tmux.conf
, e.g:
set -g status-right '#{pacman_updates}
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]
.
You can set when the notifier should show with:
set -g @pacman-update-show-on 'any'
Valid options are any
, pacman
, aur
, and always
.
- Add the following line to
~/.tmux.conf
:
set -g @plugin 'HazmatDrone/tmux-pacman-notifier'
- Refresh your plugins (default
prefix + I
)