2020-12-20 20:36:27 +01:00
|
|
|
[Unit]
|
|
|
|
|
BindsTo=autostart.target
|
2020-12-21 17:57:18 +01:00
|
|
|
After=windowmanager.target
|
2024-04-14 02:09:29 +02:00
|
|
|
ConditionPathExists=%t/features/machine_is_laptop
|
2020-12-20 20:36:27 +01:00
|
|
|
|
|
|
|
|
[Service]
|
2021-10-29 17:45:05 +02:00
|
|
|
Type=oneshot
|
2024-04-20 11:39:41 +02:00
|
|
|
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup || true'
|
2021-10-29 17:45:05 +02:00
|
|
|
RemainAfterExit=true
|
2021-01-30 21:06:08 +01:00
|
|
|
PassEnvironment=DISPLAY
|