fflewddur / tophat

View CPU, memory, disk, and network activity in the GNOME top bar.
https://extensions.gnome.org/extension/5219/tophat/
GNU General Public License v3.0
349 stars 26 forks source link

Update the UI immediately when settings are modified #70

Open fflewddur opened 1 year ago

fflewddur commented 1 year ago

Currently TopHat updates most UI elements when a monitor refreshes resource usage/activity. This creates up to a 5 second delay for UI elements such as meter color, disk usage, etc., to reflect the new setting. Instead we should listen for the property change signal and refresh the UI immediately, so the user knows their setting change was successful.