From 1f44adf3d8a53f7d4c9f39ecb5ea0cb61d93527d Mon Sep 17 00:00:00 2001 From: petRUShka Date: Thu, 2 Mar 2023 09:36:32 +0300 Subject: [PATCH] [autorandr] drop autorandr-lid-listener.service Spark configures logind to put the laptop to sleep when the lid closes. The autorandr.service executes autorandr when waking from sleep. So enabling just that first service accomplishes the goal of having autorandr execute when the lid opens. --- roles/x/tasks/autorandr.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/roles/x/tasks/autorandr.yml b/roles/x/tasks/autorandr.yml index 07c99c9..961708a 100644 --- a/roles/x/tasks/autorandr.yml +++ b/roles/x/tasks/autorandr.yml @@ -11,12 +11,3 @@ daemon_reload: true tags: - autorandr - -- name: Enable autorandr-lid-listener.service to ensure it starts after closing/opening lid - ansible.builtin.systemd: - name: autorandr-lid-listener.service - enabled: true - state: started - daemon_reload: true - tags: - - autorandr