fix: add python-object to make installation of Omarchy work (#806)

* Explicitly add python-object to make powerprofile work

* added migration

* Explain the why, not the how

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Shigeto Kumagai 2025-08-18 23:13:21 +09:00 committed by GitHub
parent e99dc3b67c
commit bc43377cc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Setting the performance profile can make a big difference. By default, most systems seem to start in balanced mode,
# even if they're not running off a battery. So let's make sure that's changed to performance.
yay -S --noconfirm power-profiles-daemon
yay -S --noconfirm python-gobject power-profiles-daemon
if ls /sys/class/power_supply/BAT* &>/dev/null; then
# This computer runs on a battery

5
migrations/1755459930.sh Normal file
View File

@ -0,0 +1,5 @@
echo "Add potentially missing dependency for power profile controls"
if ! yay -Q python-gobject &>/dev/null; then
yay -S --noconfirm python-gobject
fi