Related to #695
This applies to both the root-level and the bar configs. Closes #1937.
Added seat configuration to sway config. Also improved the way that the configuration is generated to reduce superfluous whitespace. Supersedes #1663