From: QueezyTheGreat Date: Wed, 26 Jun 2013 17:45:31 +0000 (+0200) Subject: Updated Makefile, minor change to inotify monitor X-Git-Tag: 1.0~149^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=82a1046663291b69499543c17bae9bccd21f6c53;hp=74a310b76da7dbff1735387fecf4b1ba5f3f6cde;p=deb_pkgs%2Fautorandr.git Updated Makefile, minor change to inotify monitor --- 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):