[displaymanager] For greetd, write the desktop file name

See #1937
This commit is contained in:
Adriaan de Groot 2022-05-03 11:41:53 +02:00
parent ade0fc7e19
commit 1ef2fff03e

View File

@ -895,7 +895,7 @@ class DMgreetd(DisplayManager):
def desktop_environment_setup(self, default_desktop_environment):
with open(self.environments_path(), 'w') as envs_file:
envs_file.write(default_desktop_environment)
envs_file.write(default_desktop_environment.desktop_file)
def greeter_setup(self):
pass