Code Monkey home page Code Monkey logo

bookmenu's People

Contributors

brodierobertson avatar humm42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bookmenu's Issues

Variable BookmarksFile being overwritten causing error?

When I run the script without changes and try to open a bookmark I get the following output:

./bookmenu: line 146: [: too many arguments
sort: cannot read: 'duckduckgo:duckduckgo.com': No such file or directory
grep: duckduckgo:duckduckgo.com: No such file or directory
grep: ebay:www.ebay.com: No such file or directory
grep: paypal:www.paypal.com: No such file or directory
grep: amazon:www.amazon.com: No such file or directory
grep: youtube:www.youtube.com: No such file or directory
grep: wikipedia:www.wikipedia.com: No such file or directory
grep: github:www.github.com: No such file or directory
grep: reddit:www.reddit.com: No such file or directory

So I took a look in the script and saw that you are overwriting the BookmarksFile variable which (I think) should point to $HOME/.config/bookmenu/bookmarks on line 16.
It is being overwritten on line 21.

After commenting out or removing lines 21-28, The script works without any problems.

 21 #BookmarksFile="duckduckgo:duckduckgo.com
 22 #ebay:www.ebay.com
 23 #paypal:www.paypal.com
 24 #amazon:www.amazon.com
 25 #youtube:www.youtube.com
 26 #wikipedia:www.wikipedia.com
 27 #github:www.github.com
 28 #reddit:www.reddit.com"

Could've submitted a pull request but I'm not sure if this was done intentional and just isn't working on my system, or if it is indeed an error.

rofi -dmenu

"rofi -dmenu" as fuzzyfinder works when replacing "SelectFinder" and should be supported in said function

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.