mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-28 01:31:14 +00:00
Updated Makefile, minor change to inotify monitor
This commit is contained in:
parent
74a310b76d
commit
82a1046663
2
Makefile
2
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/
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user