2020-12-20 20:36:27 +01:00
|
|
|
[Unit]
|
|
|
|
|
BindsTo=autostart.target
|
2020-12-21 17:57:18 +01:00
|
|
|
After=windowmanager.target
|
2021-01-27 16:38:00 +01:00
|
|
|
ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
2020-12-20 20:36:27 +01:00
|
|
|
|
|
|
|
|
[Service]
|
2021-01-27 15:17:45 +01:00
|
|
|
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
|
2021-01-30 21:06:08 +01:00
|
|
|
PassEnvironment=DISPLAY
|