-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca4a037
commit 9e092cc
Showing
13 changed files
with
227 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +0,0 @@ | ||
--- | ||
title: Concepts | ||
parent: Getting started | ||
nav_order: 0 | ||
--- | ||
|
||
# {{ page.title }} | ||
{: .no_toc } | ||
|
||
- TOC | ||
{:toc} | ||
|
||
A list of core concepts that help you to grasp things faster. | ||
|
||
## Plugins | ||
|
||
A plugin is a module that can be loaded/unloaded while the launcher is running. | ||
They could be native plugins (shared libraries) or provided by plugin providers, such as Python modules from the Python plugin provider. | ||
Nested plugins are only accessible if their provider is loaded. | ||
|
||
Users can enable/disable or load/unload plugins via the Plugins tab in settings or using the built-in plugin query handler. | ||
Enabled plugins load automatically at launch. | ||
Plugins with graphical interfaces for configuration can be accessed via the Plugins tab. | ||
Some plugins offer more detailed usage information there. | ||
|
||
## Extensions | ||
|
||
Each plugin can provide various extensions, like frontends, plugin providers, fallback providers or query handlers. | ||
While frontends and plugin providers are advanced topics, fallback providers, global- and triggered query handlers are central to the app's functionality. | ||
|
||
## Queries | ||
|
||
The core of the app is the query engine which parses user input and decides the mode of a query. | ||
If the query is prefixed by a trigger defined by any of the trigger query handlers the coresponding handler will handle the query exclusively. | ||
This allows the handler to display matches as soon as they are available. | ||
Queries without triggers are delegated to all global query handlers (multithreaded). | ||
As soon as the handlers finished the matches are sorted by match score and usage history and displayed. | ||
Additionally, fallback handlers offer a separate set of results: the fallback items. | ||
|
||
## TODO | ||
{: .no_toc } | ||
|
||
|
||
- Results | ||
- Matches | ||
- Fallbacks | ||
- Items | ||
- Actions | ||
- Extension interfaces (Concept and builtins) | ||
|
||
If you are missing something here post an issue. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Install | ||
parent: Getting started | ||
nav_order: 0 | ||
has_children: true | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
Prebuilt packages are available for Linux and macOS. Windows is not supported yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: macOS | ||
parent: Install | ||
grand_parent: Getting started | ||
nav_order: 0 | ||
--- | ||
|
||
# macOS | ||
|
||
{: .note } | ||
The macOS version is experimental 🚧 | ||
|
||
Albert is available via [homebrew](https://brew.sh/) tap. | ||
The package is [built](https://github.com/albertlauncher/albert/actions/workflows/ci.yml) | ||
and [hosted](https://github.com/albertlauncher/albert/releases) on GitHub. | ||
The [homebrew tap](https://github.com/albertlauncher/homebrew-albert) | ||
provides a [cask](https://github.com/albertlauncher/homebrew-albert/blob/main/Casks/albert.rb) for Albert. | ||
To install Albert via homebrew run the following commands: | ||
|
||
```bash | ||
brew tap albertlauncher/albert | ||
brew update | ||
brew install albert | ||
``` | ||
|
||
`brew update` and `brew upgrade` will keep the app up to date. | ||
|
||
Note that the packaged app is *not signed*. | ||
Read the caveats section of `brew install`. | ||
For convenience the cask creates an ad-hoc signature and disables Gatekeeper for the app. | ||
See the postflight section of the cask. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: From source | ||
parent: Install | ||
grand_parent: Getting started | ||
nav_order: 2 | ||
--- | ||
|
||
# From source | ||
|
||
Building and installing from sources is the least convenient, but most flexible way. | ||
This way is usually for developers only. | ||
The build process is trivial, but you have to manage the dependencies on your own. | ||
See the [OBS package specs](https://build.opensuse.org/package/show/home:manuelschneid3r/albert) for up to date build and runtime dependencies. | ||
|
||
```bash | ||
git clone --recursive https://github.com/albertlauncher/albert.git | ||
cmake -B build -S albert -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug | ||
cmake --build build | ||
cmake --install build | ||
``` |
Oops, something went wrong.