]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commit
Add ability to remove profile
authorSimon Wydooghe <wydooghe.simon@gmail.com>
Sun, 27 Mar 2016 17:18:01 +0000 (19:18 +0200)
committerSimon Wydooghe <wydooghe.simon@gmail.com>
Sun, 27 Mar 2016 17:18:01 +0000 (19:18 +0200)
commit9e93a611cc00e5cbeddc9d8a7cb5bc93f111a060
tree44643422de12ab6bfac5a4c74550f5cd8ce65744
parent7034c83032485c0777d5236feaa1215e95cfa5a6
Add ability to remove profile

This commit adds profile removal ability.
You can use '-r' or '--remove'.

Following checks are done:
* not a virtual profile
* profile can be found in profiles.keys()

Also added the remove option to the bash completion (untested though,
using zsh and quite unfamiliar with it).
autorandr.py
contrib/bash_completion/autorandr