Made default config more spatious and added comments, made README reference the default config

This commit is contained in:
Kirottu
2023-04-14 11:19:23 +03:00
parent 08114309a3
commit 41104dcdb1
2 changed files with 29 additions and 45 deletions

View File

@@ -1,11 +1,31 @@
Config(
width: Absolute(800),
position: Top,
vertical_offset: Absolute(0), // How much the runner is shifted vertically
hide_icons: false,
ignore_exclusive_zones: false, // ignore exclusive zones, f.e. Waybar
layer: Overlay, // GTK Layer: Bottom, Top, Background, Overlay
hide_plugin_info: false,
// `width` and `vertical_offset` use an enum for the value it can be either:
// Absolute(n): The absolute value in pixels
// Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
// How wide the input box and results are.
width: Absolute(800),
// Where Anyrun is located on the screen: Top, Center
position: Top,
// How much the runner is shifted vertically
vertical_offset: Absolute(0),
// Hide match and plugin info icons
hide_icons: false,
// ignore exclusive zones, f.e. Waybar
ignore_exclusive_zones: false,
// Layer shell layer: Background, Bottom, Top, Overlay
layer: Overlay,
// Hide the plugin info panel
hide_plugin_info: false,
// List of plugins to be loaded by default, can be specified with a relative path to be loaded from the
// `<anyrun config dir>/plugins` directory or with an absolute path to just load the file the path points to.
plugins: [
"libapplications.so",
"libsymbols.so",