Add charging indicator and pacman package, bump to 1.1.0
- Show charge/discharge power in watts, a battery graphic with charge bolt, a power history graph and the estimated time until full or remaining (respecting the 80 % charge limit) in the app, the panel widget, its tooltip and `predatorctl status` - Add packaging/arch/PKGBUILD that builds a pacman package; the kernel module ships as DKMS source and is rebuilt for every kernel - Bump version to 1.1.0 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
ea7ce49452
commit
2ef62e85cd
17 files changed
+315
-25
No files matched your search
@@ -0,0 +1,25 @@
|
||||
post_install() {
|
||||
systemctl daemon-reload
|
||||
modprobe predator_wmi 2>/dev/null || echo ":: predator_wmi could not be loaded yet (kernel headers installed? Secure Boot?)"
|
||||
systemctl enable --now predatord.service
|
||||
echo ":: Predator Control installed."
|
||||
echo ":: Add the panel widget: right-click the panel -> Add or Manage Widgets -> 'Predator Control'"
|
||||
echo ":: Only members of the 'wheel' group can change settings."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
systemctl daemon-reload
|
||||
modprobe predator_wmi 2>/dev/null
|
||||
systemctl try-restart predatord.service
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
systemctl disable --now predatord.service 2>/dev/null
|
||||
modprobe -r predator_wmi 2>/dev/null
|
||||
true
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
systemctl daemon-reload
|
||||
echo ":: Settings were kept in /etc/predator-control (delete manually if no longer needed)."
|
||||
}
|
||||
Reference in new issue
Block a user