Comments (10)
I updated rofi-blocks
aur package.
I see that googler
github project is archived and its latest version is broken... so I'll need to remove the support for it. For google search you will need to setup google API keys..
How do you execute rofi-search
exatly?
First simplest method is to
- Execute it just by command
rofi-serach
it will search forgoogler
executable and if not found it will try to findddgr
executable in your path.. if both executables are not found it will write message to stderr like
To make rofi-search work with default configuration, please install either ddgr - https://github.com/jarun/ddgr or googler - https://github.com/jarun/googler
- The second method is explained in the readme in Usage
Examples
section and involves setting env variables and executing rofi search by providingrofi-search
executable directly to therofi
..
from rofi-search.
Okay thank you, installing rofi-blocks works now fine.
I started rofi-search in the command line without the environment variable:
Can not find "googler" executable.
BlocksMode-Message: 11:50:15.438: Child 160750 exited abnormally
Googler is not installed and ddgr is installed. It seems like it doesn't search for ddgr
from rofi-search.
Hm, thats weird, something is off here, it definitely searchers for ddgr
HERE
I just checked, installed ddgr from aur and it works..
Do you have latest rofi versin? Mine is v 1.7.3
from rofi-search.
It seams like you have ROFI_SEARCH
env variable set to googler
in which case it would fail as you described...
from rofi-search.
Yes I have the latest rofi version mine is also 1.7.3
.
I installed rofi-search via aur and ddgr via aur.
Here a gif to show you what happens:
from rofi-search.
Okay if no environment variable is set it automatically sets it to googlr with the default config:
Line 33 in 76c7c6f
from rofi-search.
If you set ROFI_SEARCH
variable, you need to execute it like this:
export DDG_ARGS='["-n", 3]'
export ROFI_SEARCH='ddgr'
rofi -modi blocks -blocks-wrap /absolute/path/to/rofi-search -show blocks \
-lines 4 -eh 4 -kb-custom-1 'Control+y' -theme /path/to/your/theme.rasi
rofi-search
command works only with default configuration (which in your case does not work for some unknown reason..).
EDIT: you can get default theme for rofi-search
here: https://gist.github.com/fogine/b79bfdbf48ec70c698c977c13043b816
from rofi-search.
Theme is a bit weird. When starting with googler and rofi-search
it looks normal.
But if i search something with your command the highlighted text i searched nearly has the same color as the background color and the text seems to be invisible
from rofi-search.
yeah, I'll need to update the default theme, with recent rofi version its broken a little bit..
from rofi-search.
colortheme fixed in [email protected]
(also removes googler support)
from rofi-search.
Related Issues (10)
- clearing query causes crash HOT 6
- Search time string 'unavailable' HOT 4
- AUR package: rofi-search-git HOT 2
- wish: support passing a custom browser command HOT 3
- Odd output HOT 5
- How do I use this? HOT 4
- [support] Add keyboard shortcut (xfce4) HOT 2
- rofi-search spawns rofi HOT 2
- not able to open link in browser HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rofi-search.