Making workspace bar sticky

Henrik says:

[…] there’s no great way to do it. The closest is writing text to the MiniBuf-0 buffer every X seconds (it’s what you see in the minibuffer when it isn’t displaying other text)

The “every X seconds” trick is here.

Display only the current workspace

This can with :ui modeline enabled in init.el, by adding the following to config.el

(setq doom-modeline-persp-name t)