diff --git a/autostart/services/laptop-lid.service b/autostart/services/laptop-lid.service index 7a34ece..86edb98 100644 --- a/autostart/services/laptop-lid.service +++ b/autostart/services/laptop-lid.service @@ -5,6 +5,6 @@ ConditionPathExists=%t/features/machine_is_laptop [Service] Type=oneshot -ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup || true' +ExecStart=/usr/bin/env bash -c 'grep "^LID.*enabled" /proc/acpi/wakeup && echo " LID" | sudo tee /proc/acpi/wakeup || true' RemainAfterExit=true PassEnvironment=DISPLAY diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 6bd2455..a5cf3da 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -28,8 +28,6 @@ export LC_COLLATE=C export GOPATH=~/.go export PATH="$PATH:$(go env GOPATH)/bin" -export ACPI_LID_NAME=LID - export QT_QPA_PLATFORMTHEME=qt5ct export XDG_CONFIG_HOME="$HOME/.config"