Commit Graph

3 Commits

Author SHA1 Message Date
Andrés Eduardo García Márquez 46f5a86747 fix: compact view sizing and Plasma 5.27 compatibility
- Move QML components to contents/ui/ (Plasma 5 resolves siblings)
- Inline compact representation with MouseArea as container
- Set implicitWidth/Height to prevent panel overflow
- Use units.iconSizes.small for theme-consistent sizing
- Fix metadata.json: add ServiceTypes, FormFactors, X-Plasma-API
- Fix metadata.desktop: add X-KDE-FormFactors
- Remove CompactView.qml (inlined in main.qml)
- Remove components/ subdirectory (Plasma 5 import issues)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:20:25 -05:00
Andrés Eduardo García Márquez 8d7cd3f65f refactor: component architecture, real CPU temp, perf limiter
- Modular architecture: main.qml orchestrator + CompactView, FullView,
  TemperatureDisplay, PerfLimiter components + CpuReader/CpuWriter logic
- Fix temperature: dynamic thermal zone detection (x86_pkg_temp/TCPU)
  instead of hardcoded thermal_zone0 (was showing 27°C instead of real)
- Add CPU % limiter with -5/+5 buttons via intel_pstate max_perf_pct
- Remove profile switching (already in Kubuntu by default)
- Add polkit policy + helper script for passwordless perf writes
- Add 67 unit tests for all backend logic
- Apple-inspired UI: clean, minimal, color-coded temperature

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 11:19:31 -05:00
Andrés Eduardo García Márquez 7afb6f966e feat: CPU control widget using powerprofilesctl
KDE Plasma 6 panel widget for Intel CPU monitoring and profile switching.
Shows temperature, performance %, turbo state. Uses system's
power-profiles-daemon instead of custom scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 10:39:48 -05:00