I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
* https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355