Phillip Berndt
4452340c52
Fix two minor issues with the Makefile
2019-12-31 11:43:50 +01:00
Phillip Berndt
e1c85639c3
Prefer X11 launcher (like srandr) over udev/systemd setup
...
See #162 . The X11 launcher, that waits for randr events in X11 and runs
autorandr manually, proved to be more reliable than the setup using udev
and systemd. Make it the default.
2019-12-31 11:41:27 +01:00
Phillip Berndt
de9d7c6b0b
Update README
2019-12-31 11:12:42 +01:00
Jordan Ephron
2bd9faadcd
Don't fail if xrandr reports negative gamma value
2019-12-31 11:05:00 +01:00
Mathis Raguin
9f4fc9fbe7
edit: rename var to found_top_left_monitor
...
Signed-off-by: Mathis Raguin <mathis@cri.epita.fr>
2019-12-31 11:02:31 +01:00
Mathis Raguin
fa32200a9c
fix: rework to match phillipberndt algorithm
...
Signed-off-by: Mathis Raguin <mathis@cri.epita.fr>
2019-12-31 11:02:31 +01:00
Mathis Raguin
3c4441a95f
fix: move all output at once as they are enabled
...
Signed-off-by: Mathis Raguin <mathis@cri.epita.fr>
2019-12-31 11:02:31 +01:00
Mathis Raguin
e987251c21
fix: output position if xrandr offsetted them
...
Signed-off-by: Mathis Raguin <mathis@cri.epita.fr>
2019-12-31 11:02:31 +01:00
Phillip Berndt
ad32e62cd9
Version bump: 1.9
2019-12-19 12:45:43 +01:00
Phillip Berndt
854bba6ba9
Merge pull request #171 from Vladimir-csp/patch-2
...
Further fixes
2019-11-14 08:03:34 +01:00
Vladimir-csp
bc77e56be7
classes
2019-11-14 00:49:33 +03:00
Vladimir-csp
4ed7fa9b24
egrep is deprecated according to manpage
...
also do classes as in manpage, no double escapes needed
2019-11-14 00:48:46 +03:00
Vladimir-csp
14baee8f70
space class and double escapes in unit file
2019-11-14 00:42:26 +03:00
Vladimir-csp
5891767a88
\s does not work inside brackets
2019-11-14 00:41:38 +03:00
Phillip Berndt
2a121899d4
Merge pull request #170 from Vladimir-csp/patch-2
...
regexp and shell
2019-11-13 22:22:20 +01:00
Vladimir-csp
72c208a520
account for occasional dash prefix, use sh
2019-11-13 22:40:27 +03:00
Vladimir-csp
73c3e9d7b4
account for occasional dash prefix, use sh
2019-11-13 22:37:13 +03:00
Phillip Berndt
381ec8516b
Merge pull request #169 from chmduquesne/closed_lid_treated_as_disconnected
...
Treating a closed lid as disconnected
2019-11-10 22:27:47 +01:00
Christophe-Marie Duquesne
f6ae945187
Improvement of the regex performance for lid monitoring
...
This version of the regex avoids reading entire lines from the libinput
output, and concentrates on the event field.
2019-11-10 17:37:29 +01:00
Christophe-Marie Duquesne
5a5006c0ed
Adding Christophe-Marie Duquesne to the contributors
2019-11-10 17:26:31 +01:00
Christophe-Marie Duquesne
7a3320d07b
Only count a closed lid as disconnected if there are other connected outputs
...
As per @Vladimir-csp's advice
2019-11-10 17:23:59 +01:00
Christophe-Marie Duquesne
51a6936165
adding a lid listener xdg/autostart service
2019-11-04 14:32:36 +01:00
Christophe-Marie Duquesne
5366a5dc37
Adding a systemd script to monitor lid changes
2019-11-03 23:59:29 +01:00
Christophe-Marie Duquesne
17aacb0185
line buffering
2019-11-03 23:27:39 +01:00
Christophe-Marie Duquesne
a79056d92e
supplementary script to listen to lid events
2019-11-01 14:19:41 +01:00
Christophe-Marie Duquesne
f5f2f52dba
Treating a closed lid as disconnected
2019-11-01 00:46:19 +01:00
Patrick Klein
1b5edd4bf0
Removed isinstance check and redundant path calculation.
2019-10-24 16:15:50 +02:00
Patrick Klein
5d205c1ccb
Do not overwrite exiting config files unless --force is passed.
2019-10-24 16:15:50 +02:00
Pierre Bondoerffer
1a26afca77
Fix typo
2019-09-13 16:42:31 +02:00
Hugo Osvaldo Barrera
72b02614c5
Typo
2019-08-23 13:45:07 +02:00
Phillip Berndt
fa11792a11
Don't fail hard in get_fb_dimensions if a mode isn't WWWxHHH
...
See #159
2019-08-16 16:07:51 +02:00
Phillip Berndt
44587595b7
Merge pull request #154 from maciex/msitarz/issues/build_rpm_for_fedora_30
...
Improved RPM spec with latest version
2019-05-28 09:08:32 +02:00
Maciej Sitarz
c58de9b13c
Improved .spec file for RPM builds
2019-05-23 14:03:48 +02:00
Maciej Sitarz
7f76405c8d
Merge remote-tracking branch 'upstream/master'
2019-05-22 15:28:20 +02:00
Phillip Berndt
d3f9f80ed0
Merge pull request #145 from theperfidious/master
...
Add crtc value in the config file
2019-05-04 17:49:19 +02:00
Phillip Berndt
669ca1146e
Merge pull request #146 from Ma27/fix-bashcomp-with-zsh
...
Work around problems with autorandr's completion when using `bashcompinit`
2019-03-24 20:50:33 +01:00
Phillip Berndt
c40615f054
Record latest commit series in Readme
2019-03-24 20:44:53 +01:00
Phillip Berndt
075ea222dc
Refuse to save profiles that don't make sense (See #128 )
2019-03-24 20:42:26 +01:00
Phillip Berndt
38c65b12f1
Make mode parsing more robust for broken cases
2019-03-24 20:42:02 +01:00
Phillip Berndt
4af13f0a62
Revert disconnected/no-mode change #139
2019-03-24 20:41:44 +01:00
Maximilian Bosch
d38e22e506
Work around problems with autorandr's completion when using bashcompinit
...
On ZSH the easiest approach to get bash completions running is to use
`bashcompinit`. Unfortunately it seems as there are slight differences
between ZSH and bash which cause problems when using that feature.
I had to change the following things:
* Replace the `-n` check with a length check of the AR directory array:
ZSH adds an empty string at first if no system directory for autorandr
was found. Checking if there's at least a single element works around
this problem.
* Silence errors from `find`. The empty string at first causes a
`directory not found error` during the completion.
It can be tested on ZSH after running the following command:
```
$ autoload -U +X bashcompinit && bashcompinit && source ./contrib/bash_completion/autorandr
```
Tested with zsh 5.7.1 (x86_64-pc-linux-gnu).
2019-03-22 00:49:42 +01:00
theperfidious
176ce3bc19
Add crtc value in the config file
2019-03-21 08:31:03 +01:00
Phillip Berndt
7fda58e351
Version bump: 1.8.1
2019-03-18 21:14:41 +01:00
Phillip Berndt
102640fe27
Remove mandb call (See #144 )
2019-03-18 21:13:22 +01:00
Phillip Berndt
d8cb50aff3
Version bump: autorandr-1.8
2019-03-16 15:41:24 +01:00
Phillip Berndt
9929130fe5
Improve error message if a profile configures an output that doesn't exist (See #142 )
2019-03-10 13:59:43 +01:00
Phillip Berndt
b484c0ea9c
Follow up fixes for #139/#128
2019-02-17 13:16:58 +01:00
Phillip Berndt
b18d334761
Add today's merges to README
2019-02-17 13:08:26 +01:00
Phillip Berndt
e2b74645b2
Merge pull request #133 from somers-all-the-time/manpage
...
Manpage
2019-02-17 12:51:29 +01:00
Phillip Berndt
a2e8abfc4f
Merge branch 'master' into manpage
2019-02-17 12:50:55 +01:00