]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/log
deb_pkgs/autorandr.git
4 years agoDon't fail hard in get_fb_dimensions if a mode isn't WWWxHHH
Phillip Berndt [Fri, 16 Aug 2019 14:07:51 +0000 (16:07 +0200)]
Don't fail hard in get_fb_dimensions if a mode isn't WWWxHHH

See #159

4 years agoMerge pull request #154 from maciex/msitarz/issues/build_rpm_for_fedora_30
Phillip Berndt [Tue, 28 May 2019 07:08:32 +0000 (09:08 +0200)]
Merge pull request #154 from maciex/msitarz/issues/build_rpm_for_fedora_30

Improved RPM spec with latest version

4 years agoImproved .spec file for RPM builds
Maciej Sitarz [Thu, 23 May 2019 12:03:48 +0000 (14:03 +0200)]
Improved .spec file for RPM builds

4 years agoMerge remote-tracking branch 'upstream/master'
Maciej Sitarz [Wed, 22 May 2019 13:28:20 +0000 (15:28 +0200)]
Merge remote-tracking branch 'upstream/master'

4 years agoMerge pull request #145 from theperfidious/master
Phillip Berndt [Sat, 4 May 2019 15:49:19 +0000 (17:49 +0200)]
Merge pull request #145 from theperfidious/master

Add crtc value in the config file

5 years agoMerge pull request #146 from Ma27/fix-bashcomp-with-zsh
Phillip Berndt [Sun, 24 Mar 2019 19:50:33 +0000 (20:50 +0100)]
Merge pull request #146 from Ma27/fix-bashcomp-with-zsh

Work around problems with autorandr's completion when using `bashcompinit`

5 years agoRecord latest commit series in Readme
Phillip Berndt [Sun, 24 Mar 2019 19:44:53 +0000 (20:44 +0100)]
Record latest commit series in Readme

5 years agoRefuse to save profiles that don't make sense (See #128)
Phillip Berndt [Sun, 24 Mar 2019 19:42:26 +0000 (20:42 +0100)]
Refuse to save profiles that don't make sense (See #128)

5 years agoMake mode parsing more robust for broken cases
Phillip Berndt [Sun, 24 Mar 2019 19:42:02 +0000 (20:42 +0100)]
Make mode parsing more robust for broken cases

5 years agoRevert disconnected/no-mode change #139
Phillip Berndt [Sun, 24 Mar 2019 19:41:44 +0000 (20:41 +0100)]
Revert disconnected/no-mode change #139

5 years agoWork around problems with autorandr's completion when using `bashcompinit`
Maximilian Bosch [Thu, 21 Mar 2019 23:49:42 +0000 (00:49 +0100)]
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).

5 years agoAdd crtc value in the config file
theperfidious [Thu, 21 Mar 2019 07:31:03 +0000 (08:31 +0100)]
Add crtc value in the config file

5 years agoVersion bump: 1.8.1 1.8.1
Phillip Berndt [Mon, 18 Mar 2019 20:14:41 +0000 (21:14 +0100)]
Version bump: 1.8.1

5 years agoRemove mandb call (See #144)
Phillip Berndt [Mon, 18 Mar 2019 20:13:22 +0000 (21:13 +0100)]
Remove mandb call (See #144)

5 years agoVersion bump: autorandr-1.8 1.8
Phillip Berndt [Sat, 16 Mar 2019 14:41:24 +0000 (15:41 +0100)]
Version bump: autorandr-1.8

5 years agoImprove error message if a profile configures an output that doesn't exist (See ...
Phillip Berndt [Sun, 10 Mar 2019 12:57:32 +0000 (13:57 +0100)]
Improve error message if a profile configures an output that doesn't exist (See #142)

5 years agoFollow up fixes for #139/#128
Phillip Berndt [Sun, 17 Feb 2019 12:16:58 +0000 (13:16 +0100)]
Follow up fixes for #139/#128

5 years agoAdd today's merges to README
Phillip Berndt [Sun, 17 Feb 2019 12:08:26 +0000 (13:08 +0100)]
Add today's merges to README

5 years agoMerge pull request #133 from somers-all-the-time/manpage
Phillip Berndt [Sun, 17 Feb 2019 11:51:29 +0000 (12:51 +0100)]
Merge pull request #133 from somers-all-the-time/manpage

Manpage

5 years agoMerge branch 'master' into manpage
Phillip Berndt [Sun, 17 Feb 2019 11:50:55 +0000 (12:50 +0100)]
Merge branch 'master' into manpage

5 years agoMerge pull request #138 from jschwab/fix-panning-bug
Phillip Berndt [Sun, 17 Feb 2019 11:49:10 +0000 (12:49 +0100)]
Merge pull request #138 from jschwab/fix-panning-bug

Fix case in which x and y are not specified in panning

5 years agoMerge pull request #139 from joseph-jones/master
Phillip Berndt [Sun, 17 Feb 2019 11:48:15 +0000 (12:48 +0100)]
Merge pull request #139 from joseph-jones/master

Fix check for disconnected monitors (fixes #128)

5 years agoMerge pull request #127 from rliou92/rliou92
Phillip Berndt [Sun, 17 Feb 2019 11:45:07 +0000 (12:45 +0100)]
Merge pull request #127 from rliou92/rliou92

Add autorandr_launcher

5 years agoFix case in which x and y are not specified in panning
Josiah Schwab [Sat, 9 Feb 2019 19:42:45 +0000 (11:42 -0800)]
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.

5 years agoFix check for disconnected monitors (fixes #128)
Joseph M Jones [Sat, 9 Feb 2019 19:40:07 +0000 (19:40 +0000)]
Fix check for disconnected monitors (fixes #128)

5 years agoAdd --default default
Ricky Liou [Sun, 3 Feb 2019 01:15:24 +0000 (17:15 -0800)]
Add --default default

Added in order to behave the same way as the systemd service

5 years agoMerge branch 'master' of https://github.com/phillipberndt/autorandr into rliou92
Ricky Liou [Sun, 3 Feb 2019 01:08:50 +0000 (17:08 -0800)]
Merge branch 'master' of https://github.com/phillipberndt/autorandr into rliou92

5 years agoChanged file paths to use relative names in manpage Makefile target
somers-all-the-time [Tue, 29 Jan 2019 17:23:55 +0000 (11:23 -0600)]
Changed file paths to use relative names in manpage Makefile target

5 years agoMerge pull request #136 from jschwab/update-arch-package-link
Phillip Berndt [Mon, 28 Jan 2019 21:15:54 +0000 (22:15 +0100)]
Merge pull request #136 from jschwab/update-arch-package-link

Update Arch link in README

5 years agoUpdate Arch link in README
Josiah Schwab [Mon, 28 Jan 2019 16:39:50 +0000 (08:39 -0800)]
Update Arch link in README

Since 2018-07-22, autorandr has been a part of the official community
repository on Arch.

5 years agoAdded target manpage to Makefile
somers-all-the-time [Sat, 19 Jan 2019 19:38:25 +0000 (13:38 -0600)]
Added target manpage to Makefile

5 years agoWrote initial man page
somers-all-the-time [Thu, 17 Jan 2019 08:55:17 +0000 (02:55 -0600)]
Wrote initial man page

5 years agoInitial start to man page
somers-all-the-time [Thu, 17 Jan 2019 04:10:12 +0000 (22:10 -0600)]
Initial start to man page

5 years agoFix help str to match program name
Ricky Liou [Sun, 4 Nov 2018 20:15:59 +0000 (12:15 -0800)]
Fix help str to match program name

5 years agoAdd source code for launcher
Ricky Liou [Sun, 4 Nov 2018 19:48:18 +0000 (11:48 -0800)]
Add source code for launcher

5 years agoAdd launcher commands to Makefile
Ricky Liou [Sun, 4 Nov 2018 19:45:00 +0000 (11:45 -0800)]
Add launcher commands to Makefile

5 years agoMerge pull request #121 from Waester/dev-pr
Phillip Berndt [Fri, 19 Oct 2018 13:40:42 +0000 (15:40 +0200)]
Merge pull request #121 from Waester/dev-pr

Partially support modes with non-standard names

5 years agoMore generic approach for non-standard mode names.
Phillip Berndt [Fri, 19 Oct 2018 06:27:19 +0000 (08:27 +0200)]
More generic approach for non-standard mode names.

Co-Authored-By: Waester <alex@devho.se>
5 years agoPartially support modes with non-standard names
Waester [Thu, 11 Oct 2018 13:55:48 +0000 (15:55 +0200)]
Partially support modes with non-standard names

5 years agoMerge pull request #120 from krinistof/patch-2
Phillip Berndt [Wed, 3 Oct 2018 13:11:42 +0000 (15:11 +0200)]
Merge pull request #120 from krinistof/patch-2

Add xbps package of Void Linux in README.md

5 years agoAdd xbps package of Void Linux in README.md
IFA [Wed, 3 Oct 2018 12:40:17 +0000 (14:40 +0200)]
Add xbps package of Void Linux in README.md

5 years agoUpdate RPM spec file to stable v1.7
Maciej Sitarz [Fri, 28 Sep 2018 08:32:07 +0000 (10:32 +0200)]
Update RPM spec file to stable v1.7

5 years agoMerge remote-tracking branch 'upstream/master'
Maciej Sitarz [Fri, 28 Sep 2018 08:31:20 +0000 (10:31 +0200)]
Merge remote-tracking branch 'upstream/master'

5 years agoVersion bump: autorandr-1.7 1.7
Phillip Berndt [Tue, 25 Sep 2018 17:20:42 +0000 (19:20 +0200)]
Version bump: autorandr-1.7

5 years agoMerge pull request #117 from Janno/patch-1
Phillip Berndt [Tue, 25 Sep 2018 17:12:35 +0000 (19:12 +0200)]
Merge pull request #117 from Janno/patch-1

Consider screen rotation in `get_fb_dimensions`

5 years agoAdd Jan-Oliver Kaiser to list of contributors.
Jan-Oliver Kaiser [Sat, 22 Sep 2018 13:18:17 +0000 (15:18 +0200)]
Add Jan-Oliver Kaiser to list of contributors.

5 years agoMerge pull request #118 from patzm/patch-1
Phillip Berndt [Thu, 20 Sep 2018 20:05:16 +0000 (22:05 +0200)]
Merge pull request #118 from patzm/patch-1

typo in readme / changelog

5 years agotypo in readme / changelog
Martin Patz [Sun, 9 Sep 2018 20:15:39 +0000 (22:15 +0200)]
typo in readme / changelog

5 years agoConsider screen rotation in `get_fb_dimensions`
Jan-Oliver Kaiser [Mon, 27 Aug 2018 11:14:55 +0000 (13:14 +0200)]
Consider screen rotation in `get_fb_dimensions`

This should fix phillipberndt/autorandr#116.

5 years agoMerge pull request #114 from maciex/issue/RPM_spec_systemd_fix
Phillip Berndt [Fri, 27 Jul 2018 12:55:46 +0000 (14:55 +0200)]
Merge pull request #114 from maciex/issue/RPM_spec_systemd_fix

Proper placement of systemd service file

5 years agoFix placement of systemd service file
Maciej Sitarz [Mon, 23 Jul 2018 12:26:04 +0000 (14:26 +0200)]
Fix placement of systemd service file

Updated to latest version

5 years agoVersion bump: autorandr-1.6 1.6
Phillip Berndt [Fri, 20 Jul 2018 06:47:39 +0000 (08:47 +0200)]
Version bump: autorandr-1.6

5 years agoUpdate README
Phillip Berndt [Fri, 20 Jul 2018 06:46:24 +0000 (08:46 +0200)]
Update README

5 years agoMerge pull request #113 from Kazy/master
Phillip Berndt [Fri, 20 Jul 2018 06:43:40 +0000 (08:43 +0200)]
Merge pull request #113 from Kazy/master

Fix AttributeError exception in is_equal_configuration

5 years agoFix AttributeError exception in is_equal_configuration
Jocelyn Boullier [Thu, 19 Jul 2018 15:14:43 +0000 (17:14 +0200)]
Fix AttributeError exception in is_equal_configuration

5 years agoMerge branch 'rpm_build_fix_v1.5.1'
Maciej Sitarz [Thu, 19 Jul 2018 13:50:29 +0000 (15:50 +0200)]
Merge branch 'rpm_build_fix_v1.5.1'

5 years agoMerge branch 'master' of github.com:maciex/autorandr
Maciej Sitarz [Thu, 19 Jul 2018 13:50:16 +0000 (15:50 +0200)]
Merge branch 'master' of github.com:maciex/autorandr

5 years agoSet systemd dependency to get it's macros
Maciej Sitarz [Thu, 19 Jul 2018 13:40:28 +0000 (15:40 +0200)]
Set systemd dependency to get it's macros

5 years agoRpm build fix v1.5.1 (#1)
Maciej Sitarz [Thu, 19 Jul 2018 13:03:53 +0000 (15:03 +0200)]
Rpm build fix v1.5.1 (#1)

* Fix RPM Build Error: File must begin with '/'
* Update build version

5 years agoUpdate build version
Maciej Sitarz [Thu, 19 Jul 2018 12:46:17 +0000 (14:46 +0200)]
Update build version

5 years agoMerge pull request #110 from bricewge/master
Phillip Berndt [Thu, 19 Jul 2018 12:18:58 +0000 (14:18 +0200)]
Merge pull request #110 from bricewge/master

AUTORANDR_MONITORS only contains current monitors

5 years agoFix RPM Build Error: File must begin with '/'
Maciej Sitarz [Thu, 19 Jul 2018 12:18:54 +0000 (14:18 +0200)]
Fix RPM Build Error: File must begin with '/'

5 years agoInform about #111
Phillip Berndt [Thu, 19 Jul 2018 12:16:58 +0000 (14:16 +0200)]
Inform about #111

5 years agoMerge pull request #112 from languitar/patch-1
Phillip Berndt [Thu, 19 Jul 2018 12:15:15 +0000 (14:15 +0200)]
Merge pull request #112 from languitar/patch-1

Use process kill mode in systemd service

5 years agoUse process kill mode in systemd service
Johannes Wienke [Thu, 19 Jul 2018 12:12:52 +0000 (14:12 +0200)]
Use process kill mode in systemd service

This allows starting background processes in postswitch scripts without having to deal with cgroups. Will resolve #111.

5 years agoUpdated RPM build spec to v1.5
Maciej Sitarz [Thu, 19 Jul 2018 08:39:29 +0000 (10:39 +0200)]
Updated RPM build spec to v1.5

5 years agoAUTORANDR_MONITORS only contains current monitors
Brice Waegeneire [Mon, 16 Jul 2018 17:35:52 +0000 (19:35 +0200)]
AUTORANDR_MONITORS only contains current monitors

Signed-off-by: Brice Waegeneire <brice.wge@gmail.com>
5 years agoBugfix: Fix is_equal_configuration() "off" comparison
Phillip Berndt [Wed, 11 Jul 2018 07:02:50 +0000 (09:02 +0200)]
Bugfix: Fix is_equal_configuration() "off" comparison

5 years agoUpdate makefile
Phillip Berndt [Fri, 29 Jun 2018 07:16:50 +0000 (09:16 +0200)]
Update makefile

5 years agoConsider configurations equal only if no additional outputs are enabled
Phillip Berndt [Fri, 29 Jun 2018 07:14:58 +0000 (09:14 +0200)]
Consider configurations equal only if no additional outputs are enabled

Before, if 3 outputs were enabled, autorandr would consider a
configuration which had only 2 of those "current". Fix this.

5 years agoMerge pull request #108 from Vladimir-csp/patch-1
Phillip Berndt [Fri, 11 May 2018 16:46:07 +0000 (18:46 +0200)]
Merge pull request #108 from Vladimir-csp/patch-1

XDG search and *.d dir filternig

5 years agoXDG search and *.d dir filternig
Vladimir-csp [Fri, 11 May 2018 12:13:15 +0000 (15:13 +0300)]
XDG search and *.d dir filternig

5 years agoBugfix for #106 and add to changelog
Phillip Berndt [Mon, 30 Apr 2018 06:08:26 +0000 (08:08 +0200)]
Bugfix for #106 and add to changelog

5 years agoadd monitor list to hooks by environment variables
Brice Waegeneire [Sun, 29 Apr 2018 20:05:24 +0000 (22:05 +0200)]
add monitor list to hooks by environment variables

6 years agofixup: Also allow -c instead of --change
Phillip Berndt [Thu, 19 Apr 2018 20:18:08 +0000 (22:18 +0200)]
fixup: Also allow -c instead of --change

6 years agoBugfix: Do not load default profile unless --change is set (fixes #105)
Phillip Berndt [Thu, 19 Apr 2018 20:16:53 +0000 (22:16 +0200)]
Bugfix: Do not load default profile unless --change is set (fixes #105)

6 years agoAdd --panning support to --fb auto-value
Phillip Berndt [Sun, 15 Apr 2018 16:14:56 +0000 (18:14 +0200)]
Add --panning support to --fb auto-value

6 years agoAdd --fb option to xrandr invocations
Phillip Berndt [Mon, 9 Apr 2018 12:01:44 +0000 (14:01 +0200)]
Add --fb option to xrandr invocations

As suggested by @Vladimir-csp in #88.

6 years agoVersion bump: autorandr 1.5 1.5
Phillip Berndt [Tue, 3 Apr 2018 20:31:26 +0000 (22:31 +0200)]
Version bump: autorandr 1.5

6 years agoUpdate documentation with wildcard matching
Phillip Berndt [Mon, 26 Mar 2018 17:43:07 +0000 (19:43 +0200)]
Update documentation with wildcard matching

6 years agoAllow wildcard matching in EDIDs
Phillip Berndt [Sun, 25 Mar 2018 10:19:03 +0000 (12:19 +0200)]
Allow wildcard matching in EDIDs

See #100.

6 years agoAdd --detected and --current to filter the profile list output
Phillip Berndt [Sun, 25 Mar 2018 10:12:43 +0000 (12:12 +0200)]
Add --detected and --current to filter the profile list output

See bug #99

6 years agoOutput all non-error output to stdout instead of stderr
Phillip Berndt [Wed, 7 Mar 2018 06:42:23 +0000 (07:42 +0100)]
Output all non-error output to stdout instead of stderr

Fixes #98. This breaks compatibility with older versions of autorandr in
case users relied on which stream to use for parsing its output.

6 years agoFix virtual profiles broken by 1094d7d9
Phillip Berndt [Thu, 4 Jan 2018 08:10:26 +0000 (09:10 +0100)]
Fix virtual profiles broken by 1094d7d9

6 years agoUpdated the possible downstream sources for autorandr
Phillip Berndt [Sat, 23 Dec 2017 22:52:40 +0000 (23:52 +0100)]
Updated the possible downstream sources for autorandr

6 years agoautorandr 1.4 1.4
Phillip Berndt [Fri, 22 Dec 2017 16:25:24 +0000 (17:25 +0100)]
autorandr 1.4

6 years agoMerge pull request #95 from dondelelcaro/fix_two_argument_key
Phillip Berndt [Fri, 22 Dec 2017 09:41:28 +0000 (10:41 +0100)]
Merge pull request #95 from dondelelcaro/fix_two_argument_key

Built-in-profiles weren't working; I think sorted should only take one argument in key

6 years agosorted should only take one argument in key fix_two_argument_key
Don Armstrong [Fri, 22 Dec 2017 01:47:25 +0000 (17:47 -0800)]
sorted should only take one argument in key

6 years agoDo not error out if no configuration file exists
Phillip Berndt [Fri, 15 Dec 2017 17:30:58 +0000 (18:30 +0100)]
Do not error out if no configuration file exists

6 years agoFixup README
Phillip Berndt [Thu, 14 Dec 2017 20:36:50 +0000 (21:36 +0100)]
Fixup README

6 years agoAdd a configuration file for default option values work
Phillip Berndt [Wed, 13 Dec 2017 21:08:11 +0000 (22:08 +0100)]
Add a configuration file for default option values

See #94

6 years agoAdd new profile which shuts down all screens
Phillip Berndt [Wed, 13 Dec 2017 20:57:00 +0000 (21:57 +0100)]
Add new profile  which shuts down all screens

6 years agoautorandr 1.3 1.3
Phillip Berndt [Tue, 21 Nov 2017 15:22:28 +0000 (16:22 +0100)]
autorandr 1.3

6 years agoMerge pull request #92 from blueyed/dispatch_call_to_sessions-env
Phillip Berndt [Tue, 21 Nov 2017 15:15:06 +0000 (16:15 +0100)]
Merge pull request #92 from blueyed/dispatch_call_to_sessions-env

dispatch_call_to_sessions: skip envs without name

6 years agodispatch_call_to_sessions: skip envs without name
Daniel Hahler [Mon, 20 Nov 2017 04:22:57 +0000 (05:22 +0100)]
dispatch_call_to_sessions: skip envs without name

Fixes https://github.com/phillipberndt/autorandr/issues/87.

6 years agoMerge pull request #91 from blueyed/fix-exec_scripts
Phillip Berndt [Mon, 20 Nov 2017 09:05:49 +0000 (10:05 +0100)]
Merge pull request #91 from blueyed/fix-exec_scripts

Fix exec_scripts: candidate_directories broke for XDG/profile_path

6 years agoFix exec_scripts: candidate_directories broke for XDG/profile_path
Daniel Hahler [Mon, 20 Nov 2017 04:05:15 +0000 (05:05 +0100)]
Fix exec_scripts: candidate_directories broke for XDG/profile_path

This was broken in 1094d7d.

6 years agoAdd --load short form to changelog
Phillip Berndt [Wed, 15 Nov 2017 14:51:37 +0000 (15:51 +0100)]
Add --load short form to changelog

6 years agoTo disable --panning use 0x0, not none
Phillip Berndt [Wed, 15 Nov 2017 14:51:14 +0000 (15:51 +0100)]
To disable --panning use 0x0, not none

6 years agoReorder --help output
Phillip Berndt [Wed, 15 Nov 2017 14:50:04 +0000 (15:50 +0100)]
Reorder --help output