Status & Update checker Icon (tint2 executor + menu)

The status icon is a powerful tint2 executor with the following functionalities:

  • update checker
  • disk usage status
  • size monitor of logs/pacman cache. thrash
  • some system/package statistics
  • the icon changes color when updates are available or when disk usage exceeds a configured level

How to add it to your tint2 config?

  1. Right click on menu icon and select: Edit config file filename.conf

  2. Add executor definition.

#-------------------------------------
# Executor 3
execp = new
execp_name = mb-status
execp_command = mb-status status
execp_interval = 60
execp_has_icon = 0
execp_cache_icon = 0
execp_continuous = 1
execp_markup = 1
execp_monitor = all
execp_tooltip = Updates, discs status, size monitor for logs, pacman cache, trash can
execp_lclick_command = mb-status left
execp_rclick_command = mb-status menu
execp_mclick_command = 
execp_uwheel_command = 
execp_dwheel_command = 
execp_font = Symbols Nerd Font 16
execp_font_color = #dddddd 100
execp_padding = 0 0
execp_background_id = 0
execp_centered = 1
  1. Look for panel_items and place executor where you want it (good place is before clock) - by adding E (executor) before C (clock), for example
# Panel
panel_items = PPEPPPLTSEPECBPP
  1. Save changes and reload tint2 panel. (Right click on menu icon and select: Reload tint2)

  2. Configure it using Settings submenu


Update checker

Systemd timer must be enabled to check updates periodically.

yay -S mabox-checkupdates-systemd
sudo systemctl enable mabox-checkupdates.timer
1 Like

Thank you for this one! I need this

1 Like

I’m working on an update for all tint2 panel configs provided by Mabox. So that everyone can easily update them with one command. Maybe I’ll manage to prepare it today :wink:

2 Likes

You can overwrite tint2 configuration files with the command:

mb-reset tint2

Tint2 will be reloaded, and a status icon should appear beside the clock.

Don’t forget to update system first:

yay
1 Like