]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - bash_completion/autorandr
Use XDG Base Directory Specification for config files
[deb_pkgs/autorandr.git] / bash_completion / autorandr
index 61de0bb4f9344322b5c0d46e68975fab2ae5fac4..caa6b90b82e257c82efa2d78d670c22f0db3d49b 100644 (file)
@@ -12,6 +12,8 @@ _autorandr ()
        lopts="--help --change --save --load --default --force --fingerprint --config --dry-run"
        if [ -d ~/.autorandr ]; then
                prfls="`find ~/.autorandr/* -maxdepth 1 -type d -printf '%f\n'`"
+       if [ -d ~/.config/autorandr ]; then
+               prfls="`find ~/.config/autorandr/* -maxdepth 1 -type d -printf '%f\n'`"
        else
                prfls=""
        fi