X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=autorandr.py;h=8c304030f6f04e717e897cdeb240292de1461a3d;hb=71c6ab1e129b0cfc79e5352daf10f9845dad4d93;hp=8053b12c0e0ebe3f0b4dcf5a81b0a3f7f1b66a77;hpb=642ff4e4a7294a272fe7bf8bbf7f09b3e67fb450;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 8053b12..8c30403 100755 --- a/autorandr.py +++ b/autorandr.py @@ -390,7 +390,7 @@ def find_profiles(current_config, profiles): def profile_blocked(profile_path): "Check if a profile is blocked" - script = os.path.join(profile_path, "blocked") + script = os.path.join(profile_path, "block") if not os.access(script, os.X_OK | os.F_OK): return False return subprocess.call(script) == 0