mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Merge branch 'dev' into omarchy-shell
This commit is contained in:
@@ -11,6 +11,11 @@ action="${1-}"
|
||||
# events, and also avoids false negatives from per-port USB-C devices
|
||||
# that are present-but-empty (online=0) while another port supplies power.
|
||||
if [[ -z $action || $action == "autodetect" ]]; then
|
||||
# On plug/unplug, udev fires the rule before sysfs `online` is updated
|
||||
# on some laptops (notably Lenovo Yoga Pro 7 with USB-C charging). A
|
||||
# short settle delay lets the kernel update before we read state.
|
||||
sleep 0.3
|
||||
|
||||
action=battery
|
||||
for ps in /sys/class/power_supply/*; do
|
||||
[[ -r $ps/online && -r $ps/type ]] || continue
|
||||
|
||||
@@ -101,6 +101,7 @@ power-profiles-daemon
|
||||
python-gobject
|
||||
python-poetry-core
|
||||
python-terminaltexteffects
|
||||
qemu-user-static-binfmt
|
||||
qt5-wayland
|
||||
quickshell
|
||||
ripgrep
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
echo "Install qemu-user-static-binfmt for multi-arch Docker image building"
|
||||
|
||||
omarchy-pkg-add qemu-user-static-binfmt
|
||||
Reference in New Issue
Block a user