Skip to content

Commit 68411dc

Browse files
committed
update documentation
1 parent 073e65f commit 68411dc

File tree

4 files changed

+38
-6
lines changed

4 files changed

+38
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dist: trusty
2+
sudo: required
23
addons:
34
apt:
45
packages:

config/default.toml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ extra_plugin_directories = [
1919
history_file_salt = "Minions-Salt"
2020

2121
# list of search engines
22+
# Each site must have `name` and `address` defined
23+
# and optionally `suggestion_url` for suggestions, which follows the OpenSearch standard
2224
[search_engine]
2325
[[search_engine.sites]]
2426
name = "Google"
@@ -36,12 +38,16 @@ extra_plugin_directories = [
3638
address = "https://en.wikipedia.org/wiki/Special:Search?search=%s"
3739
suggestion_url = "https://en.wikipedia.org/w/api.php?action=opensearch&search=%s"
3840

41+
# Linux desktop entries (Applications)
3942
[linux_desktop_entry]
40-
directories = [
41-
"/usr/local/share/applications/",
42-
"/usr/share/applications/",
43-
]
43+
# Directories to find all .desktop files
44+
directories = [
45+
"/usr/local/share/applications/",
46+
"/usr/share/applications/",
47+
]
4448

49+
# File Browser
50+
# Each entry must include a `name` and a valid `path` (can be directory or file)
4551
[file_browser]
4652
[[file_browser.entries]]
4753
name = "Home Directory"
@@ -50,6 +56,9 @@ directories = [
5056
name = "Root Directory"
5157
path = "/"
5258

59+
5360
[clipboard_history]
54-
max_entries = 64
55-
ignore_single_byte = true
61+
# Max number of recent entries to record in history
62+
max_entries = 64
63+
# Whether to ignore entries with only single byte (useful if you use vim and press "x" a lot)
64+
ignore_single_byte = true

doc/quickstart.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Hit `<ctrl>space`, the Minions would show up.
1616
![](../images/ui-start.png)
1717

1818
Start typing few characters (in the following image, `p`) and filtered actions would show up. The filter text would be reset to empty if you dont't type for a short period of time.
19+
Note that the filtering engine is **adaptive**, which means that after you type "g" and select "Google" for several times, that item would gradually be the default when you type "g". (And don't worry, to protect your privacy, the content (filter text and item title) of your history would *NOT* be stored in disk. See [the code](../src/mcore/matcher.rs) for more details.)
1920

2021
![](../images/ui-filtering.png)
2122

doc/screencast-todo.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
@Author: BlahGeek
3+
@Date: 2017-08-11
4+
@Last modified by: BlahGeek
5+
@Last modified time: 2017-08-11
6+
---
7+
8+
# Intro to Minions!
9+
10+
- Launch application named "SMPlayer"
11+
- Simple calculation: what's the answer to universe, life and everything?
12+
- Find out how to program "hello world" using duckduckgo
13+
- Lookup *电脑* in dictionary using _QuickSend_
14+
- Access clipboard history
15+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
16+
- Aliena dixit in physicis nec ea ipsa, quae tibi probarentur;
17+
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
18+
- Search my IP address using Google
19+
- Get my IP address
20+
- _QuickSend_ to Google
21+
- And so much more...

0 commit comments

Comments
 (0)