How hakatamike/omarchy-usb-storage works
USB Storage for Omarchy is a shell bar widget for inspecting connected USB drives and safely ejecting them. The principal workflow runs from the panel through the helper: the helper provides drive data, the model formats it, and the panel presents drive details and actions. Ejecting delegates to udisks and notifies when removal is safe; opening a mounted drive uses the file manager. The README documents udev hotplug and optional automounting, but the helper and QML implementation were not sampled, so those integration details are limited to documented relationships.
Main entry points: Panel.qml Panel and popup · usb-storage USB helper · Model.js Drive formatting
Components 9
Widget UI
- Panel and popup
Panel.qml - Drive formatting
Model.js
Drive handling
- USB helper
usb-storage
System integrations
- udev hotplug
- udisks2
- Optional automounter
- File manager
- Notifications
Other components
- User
Connections 9
- User → Panel and popup: opens and acts
README.md - udev hotplug → Panel and popup: signals hotplug
README.md - Panel and popup → USB helper: requests drive data or eject
README.md - USB helper → Panel and popup: returns drive JSON
README.md - Panel and popup → Drive formatting: formats drive data
README.md - USB helper → udisks2: unmounts and powers off
README.md - Panel and popup → File manager: opens mounted drive
README.md - USB helper → Notifications: reports safe removal
README.md - Optional automounter → USB helper: enables mount data
README.md