Skip to content

Commit

Permalink
fix: register the main shortcut (for all websites)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikulasZelinka committed Jan 5, 2023
1 parent f2c2d3f commit f414b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "searchlauncher"
version = "0.1.0"
version = "0.1.1"
description = "Search multiple websites using a single shortcut."
authors = ["Mikuláš Zelinka <[email protected]>"]
readme = "README.md"
Expand Down
3 changes: 3 additions & 0 deletions src/searchlauncher/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def start_gui() -> None:
logger.info(f"Search {group_name} with '{group.shortcut}'")
keyboard.add_hotkey(group.shortcut, show_launcher, args=(group_name,))

logger.info(f"Search all websites with '{settings.shortcut}'")
keyboard.add_hotkey(settings.shortcut, show_launcher, args=("all",))

# wait() loops automatically:
keyboard.wait()

Expand Down

0 comments on commit f414b8d

Please sign in to comment.