Persist Framework power-button lighting across reboots

This commit is contained in:
ajp_anton committed 2026-10-20 13:30:03 +00:00
1 parent ddb912d4ba
commit dc2372ef3f
10 files changed
+142 -5

No files matched your search

@@ -1,6 +1,6 @@
Name: framework-laptop-tools
Version: 0.1.0
Release: 28%{?dist}
Release: 29%{?dist}
Summary: Hardware controls and monitoring for Framework Laptop 13 Pro
License: MIT
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
@@ -37,7 +37,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
%post
%systemd_post framework-laptop-tools-fan.service framework-laptop-tools-fan-resume.service
%preun
%systemd_preun framework-laptop-tools-fan.service framework-laptop-tools-fan-resume.service framework-laptop-tools-cpu.service
%systemd_preun framework-laptop-tools-fan.service framework-laptop-tools-fan-resume.service framework-laptop-tools-cpu.service framework-laptop-tools-lighting.service
%postun
%systemd_postun_with_restart framework-laptop-tools-fan.service framework-laptop-tools-cpu.service
%files
@@ -46,6 +46,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
%{_bindir}/framework-laptop-tools
%{_libexecdir}/framework-laptop-tools-fan
%{_libexecdir}/framework-laptop-tools-cpu
%{_libexecdir}/framework-laptop-tools-lighting
%{_libexecdir}/kf6/kauth/framework-laptop-tools-helper
%{_datadir}/applications/se.ajpanton.framework-laptop-tools.desktop
%{_datadir}/fedora-tools/settings/framework-laptop-tools.json
@@ -55,7 +56,11 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
%{_unitdir}/framework-laptop-tools-fan.service
%{_unitdir}/framework-laptop-tools-fan-resume.service
%{_unitdir}/framework-laptop-tools-cpu.service
%{_unitdir}/framework-laptop-tools-lighting.service
%changelog
* Wed Sep 23 2026 fedora-tools contributors - 0.1.0-29
- Save power-button brightness or Auto mode and restore it at boot
* Fri Sep 18 2026 fedora-tools contributors - 0.1.0-28
- Add an optional second numeric tray reading and P/E-core maximum frequencies