Skip to content

Commit 95475a3

Browse files
committed
Update docs for variables in shell commands
1 parent 6dfc949 commit 95475a3

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ bit wonky, and will be fixed in the upcoming releases
6060
- [ ] Clipboard History 20/12/2025
6161
- [ ] Plugin Support 31/12/2025 (Partially implemented on 15/12/2025)
6262
- [ ] Blur / transparent background (Partially implemented on 13/12/2025)
63-
- [ ] Allow variables to be passed into custom shell scripts.
6463
- [ ] Hyperkey - Map CMD + OPT + CTRL + SHIFT to a physical key
6564
- [ ] Ability to pick between tabs in firefox / chromium browsers - using
6665
[Puppeteer](https://pptr.dev/)
@@ -77,6 +76,7 @@ bit wonky, and will be fixed in the upcoming releases
7776
- [x] Customisable themes (13/12/2025)
7877
- [x] Configurable colours
7978
- [x] Spotify control - Ability to control spotify via the app
79+
- [x] Allow variables to be passed into custom shell scripts.
8080
- [x] Google your query. Simply type your query, and then put a `?` at the end,
8181
and press enter
8282

docs/config.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,15 @@ background_opacity = 1.0
2828
blur = false
2929
show_icons = true
3030
show_scroll_bar = true
31+
32+
[[shells]]
33+
command = "echo $var1 > file.txt" # This will start with $var1
34+
icon_path = "" # optional
35+
alias = "Variables 1" # the name that will be displayed in the results
36+
alias_lc = "var" # the name used to search for it
37+
38+
[[shells]]
39+
command = "echo $var2 > file.txt" # This will start with $var2 as there is 1 space in the alias_lc
40+
icon_path = "" # optional
41+
alias = "Variables 2" # the name that will be displayed in the results
42+
alias_lc = "var again" # the name used to search for it

0 commit comments

Comments
 (0)