Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-UTF-8 characters segfault #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Phyks
Copy link

@Phyks Phyks commented Feb 10, 2016

Basic fix for #2. Just call "iconv" to discard such characters in the index file.

@Phyks
Copy link
Author

Phyks commented Feb 10, 2016

There was also a problem with the shift of arguments, making it xdg-open the index file instead of cat-ing it. Solved as well.

@Phyks
Copy link
Author

Phyks commented Feb 10, 2016

Also added an option to bypass index building. This way, it is possible to do something like

rofi -modi "combi" -combi-modi "window,run,ssh,fm:/home/phyks/.rofi/fmenu-rofi/fmenu-rofi -o /home/phyks/.cache/fmenu-rofi.cache -n" -key-combi SuperL+p -threads 0 &

in your .xinitrc and rely on a crontab to update the index file with the -u argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant