This afternoon, I knocked together a simple profitability auto-switcher that works with nvOC and NiceHash:
https://gitlab.com/salfter/nvoc-nicehash-switcherIt might also work if you're mining elsewhere, though profitability is determined by NiceHash (as exposed through their API). It's a Python script that gathers information about what's profitable and calls shell scripts to reconfigure overclocking settings and launch miners on a per-algorithm basis. It replaces oneBash for normal operation; oneBash is only needed for initial setup or to add/remove GPUs (it manages /etc/X11/xorg.conf).