system/roles
Marty Oehme 421df69cc9
feat(acpi): Add custom LID event handling
We disable the default ACPI handler script logic for LID events.
We _only_ disable that in the script - the default handler script will
still fire for LID events, just not do anything in its routine. That is
so that in the future it is easy to rectify with any upstream changes.
If, over time we add more custom event and action chain to our ACPI
settings, we can think about spinning out all event types into our own
rules and completely disabling the deafult handler script.

Our custom LID action only fires for LID open close events, and only
logs that the lid has been opened for open events. For close events, it
adds one extra step before suspending: Checking if any DP screens are
connected - and inhibiting suspend then. That way we still automatically
suspend when closing the screen lid if we are in portable mode (no
external screens connected) but do nothing if they are.
2025-03-13 11:24:17 +01:00
..
acpi feat(acpi): Add custom LID event handling 2025-03-13 11:24:17 +01:00
backup ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
base ref(acpi): Spin out acpi role 2025-03-13 11:24:16 +01:00
bluetooth/tasks ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
display_manager feat(pipewire): Add alsa integration 2025-03-13 11:24:16 +01:00
fonts ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
gnupg/tasks feat(pipewire): Add alsa integration 2025-03-13 11:24:16 +01:00
host ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
keyd ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
network ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
packages/tasks ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
pipewire feat(pipewire): Add alsa integration 2025-03-13 11:24:16 +01:00
power ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
user ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00
wayland ref(roles): All roles use desired package state 2025-03-13 11:24:14 +01:00