Files
dotfiles/quickshell/CONTINUATION_MODEM.md
T
2026-11-17 18:15:16 +07:00

1.2 KiB

ModemManager control stage

  • Added backend/modem_control.py, a strict allowlist of enable and disable operations using mmcli argument vectors (no shell interpolation).
  • Added a Modems service action state and refreshed modem inventory after each operation.
  • Added enable/disable buttons and a confirmation dialog before disabling a modem.
  • Added backend unit tests for argument validation and command construction.

Safety and limits

  • ModemManager/polkit performs authorization; this code does not bypass it.
  • Disabling a modem can terminate mobile connectivity.
  • SIM PIN/PUK, APN, and connection management are not implemented.
  • Hyprlock and hypridle are unchanged. This is not a secure Quickshell lock screen.
  • The QML UI has not been run in a Hyprland session in this environment.

User verification

  1. On a phone with ModemManager, open Settings → Mobile network and SIM.
  2. Confirm the modem ID, state and signal. Test enable and disable only when loss of mobile connectivity is acceptable.
  3. Verify the confirmation dialog cancels correctly and errors are visible.
  4. On desktop without modem, verify the mobile settings section stays hidden.