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?
-
Right click on menu icon and select: Edit config file filename.conf
-
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
- 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
-
Save changes and reload tint2 panel. (Right click on menu icon and select: Reload tint2)
-
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