Commit Graph

27 Commits

Author SHA1 Message Date
Phillip Berndt
ee77c35529 pm-utils: Do not write log file by default
Fixes #68
2017-04-16 13:58:09 +02:00
Phillip Berndt
899f6f652f Note that StartLimitInterval was renamed in systemd-230
Fixes #69.
2017-04-16 13:56:55 +02:00
Phillip Berndt
455809c32d systemd unit: Rate limit execution
This prevents the udev rule to run autorandr once per monitor added or
removed, instead of once per change -- this is relevant, e.g., if a
notebook is (dis-)connected to/from a docking station.
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
Phillip Berndt
3e9037c726 Invoke the systemd unit from udev, don't install pmutils if systemd is in use
See bug #61 and pr #60.
2017-01-20 15:14:15 +01: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
Austin Glaser
8467e92bd5 Allow 40autorandr to handle any order fields from loginctl
This could be done a great deal more cleanly using bash regex matching;
however, as is stated elsewhere, the script will not always be executed
with bash.

There may be some merit to causing the script to always be executed with
bash (`#! /bin/bash` or even `#! /usr/bin/env bash`), but I'll admit I
don't know how widely installed bash is. I've certainly never found a
modern Linux install without bash, but my experience isn't the widest.
2016-08-29 22:48:32 -06:00
Phillip Berndt
756bf74c13 Fixes in 40autorandr; thanks to @rnav for spotting the issues 2016-07-29 19:48:06 +02:00
Phillip Berndt
ae2ea2b40c Remove leftover debug code 2016-07-28 19:37:13 +02:00
Phillip Berndt
d0fb527ffd Improve detection of $DISPLAY session owner
This closes bug #39.
2016-07-28 19:35:52 +02:00
Phillip Berndt
6cd92b6570 Fix systemd detection, closes #48 2016-05-09 09:16:16 +02:00
Simon Wydooghe
9e93a611cc Add ability to remove profile
This commit adds profile removal ability.
You can use '-r' or '--remove'.

Following checks are done:
* not a virtual profile
* profile can be found in profiles.keys()

Also added the remove option to the bash completion (untested though,
using zsh and quite unfamiliar with it).
2016-03-27 19:18:01 +02:00
Phillip Berndt
e1b9a6b112 Merge github.com:Idolf/autorandr 2016-02-10 15:05:17 +01:00
Phillip Berndt
105e2954ce Fix for #44 2016-02-10 13:05:33 +01:00
Phillip Berndt
584cb019bd Work around #44: Support long user names in w 2016-02-10 12:22:34 +01:00
Mathias Svensson
7d127f5879 Implemented the suggestions 2016-02-04 12:56:20 +01:00
Mathias Svensson
56612c27f6 Works on my machine 2016-02-03 17:43:55 +01:00
Phillip Berndt
adb35ed8a7 Workaround to fix #39 2016-02-03 08:07:48 +01:00
Phillip Berndt
53f7af43c6 pm-utils script: Check for xinit as a fallback 2015-12-07 09:51:35 +01:00
Phillip Berndt
61045d9eeb Remove autorandr_monitor, closes bug #41 2015-12-05 17:04:35 +01:00
Phillip Berndt
737ca561f4 pm-utils script: Potential fixes for bugs #30 and #39 2015-12-04 12:53:17 +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
Kepi
4983ad5e8c Contrib: script for changing wallpapers on change
Simple script which allows you to save nitrogen's wallpaper setup
for current profile and restore it when profile is loaded.

Useful in case you are moving between different monitor setups and
orientations.
2015-08-01 01:53:32 +02:00
Phillip Berndt
43bb98c613 Merge remote-tracking branch 'queezythegreat/master'
Conflicts:
	Makefile
2013-12-02 10:50:40 +01:00