]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Bugfix for #106 and add to changelog
authorPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 30 Apr 2018 06:08:26 +0000 (08:08 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 30 Apr 2018 06:08:26 +0000 (08:08 +0200)
README.md
autorandr.py

index 4b25a91f36afb3df301c103e6d0515388674ffcd..70fa161de4d9c43353fe5738bb70d4094a60fab9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -211,6 +211,7 @@ profiles matching multiple (or any) monitors.
 ## Changelog
 
 * *2018-04-19* Bugfix: Do not load default profile unless --change is set
+* *2018-04-30* Added a `AUTORANDR_MONITORS` variable to hooks (by @bricewge, #106)
 
 **autorandr 1.5**
 
index 391f35686a23fd2ce9ae132e527ca612bbccc275..f14f5ab536152f60109e47524d092f673e0ba753 100755 (executable)
@@ -1164,7 +1164,7 @@ def main(argv):
             exec_scripts(profile_folder, "postsave", {
                 "CURRENT_PROFILE": options["--save"],
                 "PROFILE_FOLDER": profile_folder,
-                "MONITORS": ":".join(load_config.keys()),
+                "MONITORS": ":".join(config.keys()),
             })
         except Exception as e:
             raise AutorandrException("Failed to save current configuration as profile '%s'" % (options["--save"],), e)