From 5a9bf68fadbaa480d3e5dd0ba88f50cc47c496e4 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 15 Sep 2022 21:51:41 +0200 Subject: [PATCH] systemd: starts autorandr only if there is a default configuration --- dotfiles/systemd/autorandr.service | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/systemd/autorandr.service b/dotfiles/systemd/autorandr.service index 45a3575..f4eda36 100644 --- a/dotfiles/systemd/autorandr.service +++ b/dotfiles/systemd/autorandr.service @@ -1,6 +1,7 @@ [Unit] Description=Automatic monitor configuration PartOf=graphical-session.target +ConditionPathIsDirectory=%h/.config/autorandr/default [Service] ExecStart=/usr/bin/autorandr --change --default default --force