feat: add websearch to anyrun
This commit is contained in:
parent
1e7350bd27
commit
384d0ee432
14 changed files with 91 additions and 61 deletions
|
|
@ -1,10 +1,29 @@
|
|||
Config(
|
||||
width: 800,
|
||||
position: Center,
|
||||
width: Absolute(800),
|
||||
// Where Anyrun is located on the screen: Top, Center
|
||||
position: Center,
|
||||
|
||||
// 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",
|
||||
"librink.so",
|
||||
"libshell.so",
|
||||
"libtranslate.so",
|
||||
"librink.so",
|
||||
"libanyrun_websearch.so",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
BIN
anyrun/plugins/libanyrun_websearch.so
Executable file
BIN
anyrun/plugins/libanyrun_websearch.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#window {
|
||||
border-radius: 10px;
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
box#main {
|
||||
|
|
|
|||
6
anyrun/websearch.ron
Normal file
6
anyrun/websearch.ron
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Config (
|
||||
prefix_url_map: {
|
||||
":g": "https://google.com/search?q=",
|
||||
":b": "https://search.brave.com/search?q=",
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue