Commit Graph

77 Commits

Author SHA1 Message Date
Phillip Berndt
c980e5462e Fixed indentation of commit f131585 2014-01-30 16:36:26 +01:00
Phillip Berndt
007920e83c Apply normal rotation unless another one is set 2014-01-30 16:35:07 +01:00
tachylatus
8af170c6ab Only output "rotate" once 2014-01-30 14:57:58 +01:00
tachylatus
c3521b34b0 Merge https://github.com/ChrisDunder/autorandr
Conflicts:
	autorandr
2014-01-30 14:24:16 +01:00
Phillip Berndt
eef58b0a5d Merge http://github.com/voda/autorandr
Conflicts:
	bash_completion/autorandr
2014-01-30 13:45:31 +01:00
Phillip Berndt
e1c9565596 Merge branch 'feature/preswitch_scripts' of http://github.com/torrancew/autorandr 2014-01-30 13:41:30 +01:00
Phillip Berndt
6d6f5b713b Merge pull request #1 from tachylatus/master
Support DESTDIR + improvements for easy packaging
2014-01-30 04:37:25 -08:00
tachylatus
6a04c1b913 Support DESTDIR + improvements for easy packaging 2014-01-30 12:31:29 +01:00
Tray Torrance
f1315852be Add support for "preswitch" scripts 2013-12-30 13:18:32 -08:00
Ondřej Vodáček
43dcdca451 Merge branch 'patch-1' of https://github.com/vapniks/autorandr
* 'patch-1' of https://github.com/vapniks/autorandr:
  Fix completion of config names
2013-12-15 18:44:59 +01:00
Ondřej Vodáček
7dc195c481 Merge remote-tracking branch 'public/patch-2'
* public/patch-2:
  bash_completion: load profiles only when .autorandr directory exists

Conflicts:
	bash_completion/autorandr
2013-12-15 18:40:52 +01:00
Ondřej Vodáček
118f2c6121 Merge remote-tracking branch 'public/patch-1'
* public/patch-1:
  added --config to bash completion
2013-12-15 18:40:28 +01:00
vapniks
b94559c3cf Fix completion of config names 2013-12-08 01:20:58 +00:00
Phillip Berndt
7dabe214f0 Prefer sysfs probing over xrandr probing (more reliable, esp. if fake xrandr is used) 2013-12-03 12:22:31 +01:00
Phillip Berndt
43bb98c613 Merge remote-tracking branch 'queezythegreat/master'
Conflicts:
	Makefile
2013-12-02 10:50:40 +01:00
Phillip Berndt
fb01d5e870 Merge remote-tracking branch 'paulharris/master'
Conflicts:
	README
2013-12-02 10:42:23 +01:00
Phillip Berndt
4db3b2ca3a Merge remote-tracking branch 'helterscelter/master'
Conflicts:
	pm-utils/40autorandr
2013-12-02 10:34:24 +01:00
Phillip Berndt
9a5ea1f32f Display logger information in pm-utils script only if a user was actually found 2013-11-29 08:04:18 +01:00
Phillip Berndt
399523da9b Merge remote-tracking branch 'mtahmed/master'
Conflicts:
	README.md
2013-11-29 07:58:56 +01:00
Phillip Berndt
ccd5339707 Updated README with branch information 2013-11-29 07:51:28 +01:00
Phillip Berndt
a5a1747c1a Merge remote-tracking branches 'tachylatus/master' and 'herm/master' 2013-11-29 07:43:48 +01:00
Hermann Kraus
5b3e1feee2 Update README. 2013-11-18 00:38:25 +01:00
Hermann Kraus
085ee73781 Install udev rules. 2013-11-18 00:34:43 +01:00
Mandus Elfving
6bdb12f488 Add a udev rules file for calling autorandr on monitor switch 2013-11-18 00:34:07 +01:00
Hermann Kraus
5e3a9c5ec4 Make user name detection more reliable if there are multiple session (e.g. terminals). 2013-11-18 00:33:18 +01:00
Mandus Elfving
a0ace8e0c7 Some small fixes to the pm-utils script 2013-11-18 00:21:38 +01:00
Hermann Kraus
bbdf3fb639 Added Makefile to install program. 2013-11-17 23:07:52 +01:00
Ondřej Vodáček
2926c36940 bash_completion: load profiles only when .autorandr directory exists 2013-07-20 13:17:28 +02:00
Ondřej Vodáček
2891190389 added --config to bash completion 2013-07-20 13:12:25 +02:00
tachylatus
83355f418b Workaround xrandr bug: "cannot find crtc for output" - efficient solution
xrandr will typically fail when switching outputs, if the maximum number is already enabled.
This patch will cause xrandr to be called twice:
- First invocation will only disable outputs, freeing up CRTCs
- Second invocation will only enable outputs
2013-07-04 13:36:03 +02:00
tachylatus
3939171565 Fix xrandr -q parsing when output contains "primary"
xRandR (in newer versions?) will output an extra columns for primary outputs.
Detect this column and modify the string split and column numbers accordingly.
2013-07-04 13:36:03 +02:00
Helge
1ea13e4271 Fix "No such file or directory" on tab-completion
Checks if the directory ~/.autorandr exists before searching for profiles.
Example error message:
autorandr -find: `/root/.autorandr/*': No such file or directory
2013-07-04 13:36:03 +02: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
mtahmed
71eab77f43 Make the README.md a bit cleaner. 2013-05-12 08:33:46 -04:00
mtahmed
3401494b33 Rename README -> README.md. Use markdown for README.md. 2013-05-12 08:29:18 -04:00
Paul Harris
37052d0f9d Added notes on how to get auto-disper running automatically. 2013-04-24 22:41:16 +08:00
Paul Harris
41edb76181 Added a default fallback ("default") for pm-script. 2013-04-24 22:36:46 +08:00
Paul Harris
5ada195b85 Merge remote-tracking branch 'helterscelter/master' 2013-04-24 22:36:24 +08:00
Stefan Tomanek
4f5e2401ef add support for rotated displays 2013-01-06 18:38:35 +01:00
helterscelter
afd63d5066 Updated pm-utils scripts
40autorandr had issues when resuming on a system where
one or more users have multiple terminal sessions open.

enhanced 40autorandr to allow being called as 40auto-disper
to automatically swap to using auto-disper semantics
2012-08-06 15:08:08 -04:00
Chris Dunder
8dbcc7f2ef Added support for rotated outputs to the xrandr codepath. 2012-07-31 12:54:51 -07:00
Markus Ulrich
72bced7aeb Add README file 2012-06-28 22:30:49 +02:00
Markus Ulrich
a79de1d26b Fix some typo errors 2012-06-28 22:25:33 +02:00
Maciej Sitarz
7aed96914f Fixed script name and typo in variable name.
Renamed according to pm-utils "SLEEP HOOK ORDERING CONVENTION"
2012-02-22 22:54:31 +01:00
Stefan Tomanek
0f63a4fc23 improve pm-utils script 2012-02-13 21:58:21 +01:00
Stefan Tomanek
5f7ce588b2 move contrib files to subdirectories 2012-02-13 21:58:17 +01:00