-
-
Notifications
You must be signed in to change notification settings - Fork 24
Base config
toggle_hotkey = "ALT+SPACE"
clipboard_hotkey = "SUPER+SHIFT+C"
placeholder = "Time to be productive!"
search_url = "https://google.com/search?q=%s"
haptic_feedback = false
show_trayicon = true
log_path = "/tmp/rustcast.log"These 2 are pretty much the same. They hide and show the rustcast window, just opening to different pages. toggle hotkey opens to the main search page, clipboard hotkey opens to the clipboard history page
You MUST Provide a Key, but a modifier is optional. Some of the common valid Modifiers (and the respective MacOS Key it maps to):
- SUPER (Command)
- ALT (Option)
- CTRL (Control)
see the full list here
Use a + between this and the key.
There are too many keys to list so just take a look at the enum defnition here
This is a simple string that shows the searching inputs placeholder bit.
This is the search engines URL thats used when doing web searches (using the ? suffix)
A simple way to think about this is that for your search engine of choice, you have to put: %s where the query will go. If you want to switch to duckduckgo, or bing (why?) you simply need to set it to https://duckduckgo.com/search?q=%s or https://bing.com/search?q=%s respectively. For google, you can refer to the default config, and rustcast also uses google by default. (I chose google because its the most popular one, but if people vote for duckduckgo to be the default, I wouldn't mind changing it)
A random feature I added, you can have the macos haptic feedback be triggered when you type in rustcast. I added this for fun, but if you want to add this you can. This is a boolean value (AKA true or false), where true means it will enable haptic feedback.
This is if you don't want the menubar icon, you can choose to disable the RustCast menu bar icon.
My recommendation is not to touch this if possible. However, it simply means where the logs are stored. By default its stored in your /tmp/rustcast.log