only switch palettes when necessary since it eats stdin at the cli
Merge remote-tracking branch 'origin/master'