System Monitor
Omarchy shell bar widget showing live CPU and memory usage.

Install
git clone https://github.com/dbohry/omarchy-sysmon ~/.config/omarchy/plugins/sysmon
omarchy plugin enable sysmon
omarchy-shell shell rescanPlugins
Then add the widget to the bar: open the Omarchy settings panel (or run
omarchy bar) and enable System Monitor under the System category.
Uninstall
omarchy bar remove sysmon # or disable it from the settings panel first
rm -rf ~/.config/omarchy/plugins/sysmon
omarchy-shell shell rescanPlugins
No other files are touched — the plugin only reads /proc/stat and
/proc/meminfo and does not write any state outside its own directory.
What it does
- Polls CPU and memory usage every 2 seconds.
- Displays
CPU X% MEM Y%in the bar. - Left-click: opens
btopin a floating terminal. - Middle-click: forces an immediate refresh.
How it works
bin/sysmon-stats is a small bash script that:
- Samples
/proc/statover a 0.3s window to compute CPU usage percentage. - Reads
/proc/meminfo(MemTotalvsMemAvailable) to compute memory usage percentage. - Prints
<cpu_pct> <mem_pct>to stdout.
BarWidget.qml runs that script on a timer and renders the result as a bar widget.
Files
manifest.json— plugin metadata (id:sysmon)BarWidget.qml— bar widget entry pointbin/sysmon-stats— stats-gathering script
Requirements
btopinstalled (only needed for the click-to-open action)
License
MIT — see LICENSE.