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
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
Phillip Berndt
9255c2f705
Merge pull request #138 from jschwab/fix-panning-bug
...
Fix case in which x and y are not specified in panning
2019-02-17 12:49:10 +01:00
Phillip Berndt
f923b9588c
Merge pull request #139 from joseph-jones/master
...
Fix check for disconnected monitors (fixes #128 )
2019-02-17 12:48:15 +01:00
Phillip Berndt
507df0ece0
Merge pull request #127 from rliou92/rliou92
...
Add autorandr_launcher
2019-02-17 12:45:07 +01:00
Josiah Schwab
b5abba4411
Fix case in which x and y are not specified in panning
...
The regular expression that extracts the panning values has optional
matches for the named groups x and y.
Previously, the case in which there is no match for x and y looks to
have been attempted to be handled by doing
detail.get("x", "0")
This is a bug. The default argument to dict.get is only returned when
the key is not a member of the dictionary. However, when a group
fails to participate in the regex match, the dict does have a key.
The default value of this default key is None. This would lead to an
error when the get returned None and None was then cast to an integer.
This resolves the issue by explicitly setting the groupdict default to
be "0", which is appropriate for the two groups (x and y) that may
optionally participate in the match.
2019-02-09 11:51:08 -08:00
Joseph M Jones
a64db8d126
Fix check for disconnected monitors ( fixes #128 )
2019-02-09 19:43:55 +00:00
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
3354ed9daa
Merge branch 'master' of https://github.com/phillipberndt/autorandr into rliou92
2019-02-02 17:08:50 -08:00
somers-all-the-time
e01aa67592
Changed file paths to use relative names in manpage Makefile target
2019-01-29 11:23:55 -06:00
Phillip Berndt
f24910c746
Merge pull request #136 from jschwab/update-arch-package-link
...
Update Arch link in README
2019-01-28 22:15:54 +01:00
Josiah Schwab
39d3e734ce
Update Arch link in README
...
Since 2018-07-22, autorandr has been a part of the official community
repository on Arch.
2019-01-28 08:39:50 -08:00
somers-all-the-time
6c60608771
Added target manpage to Makefile
2019-01-19 13:38:25 -06:00