Commit Graph

26 Commits

Author SHA1 Message Date
Phillip Berndt 28dc3cdea6 Do not automatically reload/update daemons from Makefile
Instead, write an info message to the console. See #60. This affects
udev and systemd.
2017-01-20 15:14:15 +01:00
Phillip Berndt ae1f18a060 udev rule: Dynamically call either systemd or autorandr directly depending on whether systemd unit is available 2017-01-20 15:14:15 +01:00
Phillip Berndt 94ae61de9d Update scripts' PREFIX in Makefile's install targets 2017-01-20 15:14:15 +01:00
Phillip Berndt 2184cf58ac Prefer systemd sleep.target over pmutils 2017-01-20 15:14:15 +01:00
Rasmus Wriedt Larsen 33df4b3935 Makefile: fix install path for udev rules
`pkg-config --variable=udevdir udev` returns the root folder for udev.
2016-11-06 00:41:05 +01:00
Daniel Hahler 729e8caf52 Makefile: use pkg-config
This avoids patching the Makefile in Arch's autorandr-git package [1]
and should help with packaging this in general.

1: https://aur.archlinux.org/packages/autorandr-git/
2016-10-14 16:46:07 +02:00
Phillip Berndt 76845107dd Install autostart desktop file by default 2016-10-02 21:14:47 +02:00
Nazar Mokrynskyi 64a12d5fd8 Add xdg autostart config so that configuration will be applied on login.
Small fix for files searching.
2016-10-01 05:55:37 +03:00
Phillip Berndt b70b81650a Added Makefile target to create a deb archive
This largely ignores all Debian packaging standards, and simply creates
a Debian package which contains the files that would be installed if the
user typed `sudo make install' on his (Debian) system.
2016-09-19 14:32:28 +02:00
Phillip Berndt bae286948a Introduce --batch option to autorandr: Run autorandr for each user with an X11 session
This is an attempt to resolve #45 and it might also be a better
alternative to #52, #44 and #39.
2016-09-16 16:19:24 +02:00
Phillip Berndt 1aec0f4a2d udev requires pmutils as well (See issue #45) 2016-05-31 15:23:52 +02:00
Phillip Berndt 6cd92b6570 Fix systemd detection, closes #48 2016-05-09 09:16:16 +02:00
Daniel Hahler 4597a78e6a The 40autorandr script needs to be executable for udev
Otherwise it will not be executed:
… systemd-udevd[32358]: failed to execute '/etc/pm/sleep.d/40autorandr' '/etc/pm/sleep.d/40autorandr thaw': Permission denied
… systemd-udevd[32355]: Process '/etc/pm/sleep.d/40autorandr thaw' failed with exit code 2.
2015-12-02 12:43:19 +01:00
Phillip Berndt dcb1e65fd1 Only use name of executable in systemd detection (See #38) 2015-11-24 19:10:24 +01:00
Phillip Berndt 48713bbae2 Improved systemd detection (See bug #38, thanks to @blueyed) 2015-11-24 19:05:46 +01:00
Phillip Berndt 0e7fb8b21d Moved contributed scripts/files to the contrib/ folder and updated the Makefile to autodetect the system
systemd service file contributed by github user @blueyed. see #29.
2015-11-11 11:22:24 +01:00
Phillip Berndt e0dfa631a2 Removed legacy autorandr (see the legacy branch) 2015-01-27 08:26:10 +01:00
tachylatus 6a04c1b913 Support DESTDIR + improvements for easy packaging 2014-01-30 12:31:29 +01:00
Phillip Berndt 43bb98c613 Merge remote-tracking branch 'queezythegreat/master'
Conflicts:
	Makefile
2013-12-02 10:50:40 +01:00
Hermann Kraus 085ee73781 Install udev rules. 2013-11-18 00:34:43 +01:00
Hermann Kraus bbdf3fb639 Added Makefile to install program. 2013-11-17 23:07:52 +01:00
QueezyTheGreat 2509ac3b83 Minor fixes and improvements 2013-06-26 20:40:29 +02:00
QueezyTheGreat c71e1097d5 Minor fixes and improvements 2013-06-26 20:31:39 +02:00
QueezyTheGreat 0f31c5e5b6 Minor code refactoring 2013-06-26 20:09:14 +02:00
QueezyTheGreat 82a1046663 Updated Makefile, minor change to inotify monitor 2013-06-26 19:45:31 +02:00
QueezyTheGreat 74a310b76d Added install makefile and autorandr inotify monitor 2013-06-26 19:33:16 +02:00