From 82a1046663291b69499543c17bae9bccd21f6c53 Mon Sep 17 00:00:00 2001 From: QueezyTheGreat Date: Wed, 26 Jun 2013 19:45:31 +0200 Subject: [PATCH] Updated Makefile, minor change to inotify monitor --- Makefile | 2 +- autorandr_monitor | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d871ad..8a45be5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ install: - install auto-disper /usr/bin/ install -m 774 autorandr /usr/bin/ install -m 774 autorandr_monitor /usr/bin/ install -m 644 bash_completion/autorandr /etc/bash_completion.d/ + ln -sf /usr/bin/autorandr /usr/bin/auto-disper #install -m pm-utils/40autorandr /etc/pm/power.d/ diff --git a/autorandr_monitor b/autorandr_monitor index e1e5259..245b4dd 100755 --- a/autorandr_monitor +++ b/autorandr_monitor @@ -4,8 +4,9 @@ import pyinotify from pyinotify import ProcessEvent SYS_VIDEO_OUTPUTS='/sys/class/drm/card0/' +SYS_VIDEO_OUTPUTS='/sys/class/drm/' -DEFAULT_PROFILE='mobile' +DEFAULT_PROFILE='default' AUTORANDR_CMD='autorandr --change --default %s' % DEFAULT_PROFILE class VideoOutputMonitor(ProcessEvent): -- 2.39.2