MCPcopy Create free account
hub / github.com/debuggyo/Exo / setLayout

Method setLayout

ignis/scripts/set_launcher_layout.py:11–18  ·  view source on GitHub ↗
(cls, layout: str)

Source from the content-addressed store, hash-verified

9
10 @classmethod
11 def setLayout(cls, layout: str):
12 if layout not in ["grid", "list"]:
13 print(f"Invalid layout: {layout}. Must be 'grid' or 'list'.")
14 return
15
16 user_settings.interface.launcher.layout = layout
17 if cls.launcher_instance:
18 cls.launcher_instance._set_layout(layout)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected