-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
The default configuration directory is $HOME/.config/anyrun the structure of the config directory is as follows and should be respected by plugins:
- anyrun
- plugins
<plugin dynamic libraries>
config.ron
style.css
<any plugin specific config files>
The default config file contains the default values, and annotates all configuration options with comments on what they are and how to use them.
Anyrun supports GTK+ CSS styling. The names for the different widgets and widgets associated with them are as follows:
-
entry: The entry boxGtkEntry
-
window: The windowGtkWindow
-
main: "Main" parts of the layout-
GtkListBox: The main list containing the plugins -
GtkBox: The box combining the main list and the entry box
-
-
plugin: Anything for the entire plugin-
GtkLabel: The name of the plugin -
GtkBox: The different boxes in the plugin view -
GtkImage: The icon of the plugin
-
-
match: Widgets of a specific match-
GtkBox: The main box of the match and the box containing the title and the description if present -
GtkImage: The icon of the match (if present)
-
-
match-title: Specific for the title of the matchGtkLabel
-
match-desc: Specific for the description of the matchGtkLabel
The custom arguments for anyrun are as follows:
-
--config-dir,-c: Override the configuration directory
The rest of the arguments are automatically generated based on the config, and can be used to override
configuration parameters. For example if you want to temporarily only run the Applications and Symbols plugins on
the top side of the screen, you would run anyrun --plugins libapplications.so --plugins libsymbols.so --position top.