0ry0n / Resource_Monitor

Resource_Monitor is a GNOME Shell extension that Monitor the use of system resources like cpu, ram, disk, network and display them in GNOME Shell top bar.
GNU General Public License v3.0
143 stars 20 forks source link

Added gnome-usage as fallback #36

Closed GetTuh closed 2 years ago

GetTuh commented 2 years ago

Thank you for your contribution to the Resource_Monitor repo.

Motivation

Clicking the extensions tries to launch gnome-system-monitor

Description

My EndeavourOS (and possibly others) doesn't have gnome-system-monitor which has been replaced by gnome-usage anyways. This PR checks if gnome-system-monitor can be launched, and if not it opens gnome-usage.

Checklist

GetTuh commented 2 years ago

Although it should be editable in the settings which one to launch or start some other apps/scripts

0ry0n commented 2 years ago

Thanks for collaboration. I added it in the new version. b3166e9e24f5dc7fe76ce489401d17712947c56c