fogine / rofi-search

Interactive Google / DuckDuckGo search via rofi
MIT License
99 stars 7 forks source link

Odd output #5

Closed mtwb47 closed 3 years ago

mtwb47 commented 4 years ago

For whatever reason when I use this the output comes through fairly garbled. This is what it looks like. https://imgur.com/5NIG007

This is the command I'm using.

rofi -modi blocks -blocks-wrap /usr/bin/rofi-search -show blocks \ 
-lines 4 -eh 4 -kb-custom-1 'Control+y' -theme /usr/share/rofi/themes/glue_pro_blue.rasi

I'm guessing that it's either a font problem or I'm missing a dependency. I'm not sure which is most likely. I installed through the AUR.

mtwb47 commented 4 years ago

ArcoLinux_2020-10-05_10-56-10

I added the screenshot here, as imgur is bad.

fogine commented 3 years ago

I think the issue will be in your rofi theme. Try to run it with the theme I'm using and see if the issue persists. https://github.com/fogine/dotfiles/blob/master/rofi/google_theme.css

mtwb47 commented 3 years ago

Changing the theme didn't work. This is the command I ended up with.


rofi -modi blocks -blocks-wrap /usr/bin/rofi-search -show blocks \ 
-lines 4 -eh 4 -kb-custom-1 'Control+y' -theme /usr/share/rofi/themes/glue_pro_blue.rasi

I get a shell error:

command not found: -lines

The output is still the same and the theme didn't actually change at all. I tried also to go through and change the theme to something else, and it still stuck with the same thing, so something is obviously off with rofi, and not this script. I'll figure it out.

fogine commented 3 years ago

Did you resolve the issue @mtwb47 ? if not try to provide parameters in the following exact order:

rofi -modi blocks -show blocks -lines 4 -eh 4 -kb-custom-1 'Control+y' -theme /path/to/theme.rasi -blocks-wrap /usr/bin/rofi-search

if that still doesnt work, you have old or broken version of rofi installed on your system

fogine commented 3 years ago

Closing this for lack of response. Feel free to reopen.