mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
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:
co-authored by
David Heinemeier Hansson
parent
e99dc3b67c
commit
bc43377cc6
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user