Skip to content

Commit cc87c19

Browse files
committed
added settings/config command to launcher
1 parent 1805f67 commit cc87c19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/launcher.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,12 @@ def on_search_entry_activate(self, text):
312312
self.notch.open_notch("power")
313313
case ":update":
314314
GLib.idle_add(lambda: run_updater(force=True))
315+
case ":settings":
316+
exec_shell_command_async(f"python {get_relative_path('../config/config.py')}")
317+
self.close_launcher()
318+
case ":config":
319+
exec_shell_command_async(f"python {get_relative_path('../config/config.py')}")
320+
self.close_launcher()
315321
case _:
316322
children = self.viewport.get_children()
317323
if children:

0 commit comments

Comments
 (0)