Commit Graph

37 Commits

Author SHA1 Message Date
Ricky Liou
6d40d3cfba Add --default default
Added in order to behave the same way as the systemd service
2019-02-02 17:15:24 -08:00
Ricky Liou
3d6ccb0c5a Fix help str to match program name 2018-11-04 12:15:59 -08:00
Ricky Liou
2a9ed676b6 Add source code for launcher 2018-11-04 11:48:18 -08:00
Phillip Berndt
3a1b5c484e
Merge pull request #114 from maciex/issue/RPM_spec_systemd_fix
Proper placement of systemd service file
2018-07-27 14:55:46 +02:00
Maciej Sitarz
c86015ab0e Fix placement of systemd service file
Updated to latest version
2018-07-23 14:26:04 +02:00
Johannes Wienke
050b0573c2
Use process kill mode in systemd service
This allows starting background processes in postswitch scripts without having to deal with cgroups. Will resolve #111.
2018-07-19 14:12:52 +02:00
Vladimir-csp
6b27e2a62d
XDG search and *.d dir filternig 2018-05-11 15:13:15 +03:00
Jerzy Drozdz
65886ffae3 Removed pm-utils on fedora22+ from requisites 2017-10-01 18:14:28 +02:00
Jerzy Drozdz
2c5c151814 Added RedHat compatible spec file 2017-09-03 01:06:29 +02:00
Achim D. Brucker
c7dfe868e7 Bug fix: ensure that the Debian control directory has permissions 0755. 2017-08-11 06:06:39 +01:00
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