Adjusted menus under live macOS

This commit is contained in:
2Shirt 2020-01-30 13:08:13 -07:00
parent c7d57ff266
commit 4a3981e10c
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -134,6 +134,8 @@ class Menu():
checkmark = '*'
if 'DISPLAY' in os.environ or PLATFORM == 'Darwin':
checkmark = ''
if os.path.exists('/.wk-live-macos'):
checkmark = '*'
display_name = f'{index if index else name[:1].upper()}: '
if not (index and index >= 10):
display_name = f' {display_name}'