Git Product home page Git Product logo

buku_run's People

Contributors

carnager avatar gandag avatar isaaclo123 avatar it-praktyk avatar midek avatar szlin 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

buku_run's Issues

buku_run doesn't respect my font settings

I use Terminus for Rofi, but buku_run uses Sans or something. I tried adding font settings to the config and trying the --font flag, but nothing works.

What am I doing wrong?

Deleting/editing of bookmarks fails

Hi there,

I am working on a pretty old thinkpad (64bit arch linux, up to date) and I have a few issues. Opening buku-run and seeing/filtering/opening of bookmarks works fine but editing and deleting them appears broken.

open buku-run
select bookmark
Alt+a
select delete
confirm

appears to exit correctly but when opening buku-run again the bookmark is still there and can be opened with the browser, repeating the procedure on the same bookmark prints

[ERROR] Incorrect index or range

Navigating to the bookmark editing dialog an hitting enter on either url or tags just exits doing nothing.

What am I doing wrong :D?

As a side note, the arch user repository package is broken and I am unfamiliar with the aur website. I don't really know where to report the issue, the installation fails with

==> Starting package()...
install: cannot stat 'buku': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

so I manually installed the deps, cloned the repo and run the binary directly from its directory as the make install does not appear to perform any magic.

Url and tag editing bug

Trying to edit an url exits without an action.
The reason for that are a pair of quotes turning a match against a regex into a literal match
[ $editmenu =~ "url:*" ] should say [ $editmenu =~ url:* ] around line 164
Trying to edit the tags of a bookmark that already has tags fails for an equivalent reason.

i3wm complains about end token

I've described the error here.

I have this bindsym mod1+apostrophe exec buku_run in my .config/i3/config file. When I issue the shortcut buku_run comes up but meanwhile i3wm complain about

ERROR: Received ConfigureNotify for unknown window 0x00600000
ERROR: Received ExposeEvent for unknown window 0x00600000
ERROR: Received ConfigureNotify for unknown window 0x00600000
ERROR: Received ConfigureNotify for unknown window 0x00600001
ERROR: Received ExposeEvent for unknown window 0x00600001
ERROR: Received ConfigureNotify for unknown window 0x00600001
ERROR: Received ConfigureNotify for unknown window 0x00600002
ERROR: Received ConfigureNotify for unknown window 0x00600002
ERROR: Received ConfigureNotify for unknown window 0x00600003
ERROR: Received ConfigureNotify for unknown window 0x00600003
ERROR: Received ConfigureNotify for unknown window 0x00600004
ERROR: Received ConfigureNotify for unknown window 0x00600004
ERROR: Received ConfigureNotify for unknown window 0x00600005
ERROR: Received ConfigureNotify for unknown window 0x00600005
ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'swap', 'title_format', 'mode', 'bar'
ERROR: Your command: buku_run # for buku, run the buku_run
ERROR

I just close the error bar and everything seems good. I also try without exec or within calling customized bash script.

Tags are not working properly

Tags do not work properly in two ways

First, the tag view does not work. switching to the tag view with Alt-Tab results in a "loading..." error screen.

2017-06-08-212556_1366x768_scrot

The tag editing also does not work on entries with "NOTAG"s, resulting in a "loading..." screen as well and not updating the buku entries.

2017-06-08-212610_1366x768_scrot

Bookmark title displaying instead of tags

It seems that because buku 4.0 adds a new "title" line to its output, the buku_run script is reading the wrong line for tags, and is displaying the title in place of tags in the menu.

buku-tag-issue

tag issues

"NOTAG" appears as an actual text tag in tag editing.

2017-06-09-102359_1366x768_scrot

2017-06-09-101901_1366x768_scrot

rofi -width setting ignored.

First, great script. Thanks for sharing.

I use rofi in -fullscreen mode. And I cant seem to get buku_run to respect the -width argument. Your script has -width set at 1000 by default, but changing it doesnt do anything, width stays the same regardless of the -width argument. I have tried via the local config and also editing the script directly.

As it is now, when using rofi fullscreen the output of buku_run takes up half the width of the screen. which cuts off viewing most of the bookmarks url. Since I already use rofi in fullscreen, it seems like wasted real estate.

I am wondering if the rofi width argument is actually being respected, but there is something else in the script controlling the width of the bookmark url output? I think that might be the case, but reading through your script I cant get a handle on it. As most of it is admittedly over my head.

Any pointers would be appreciated.

buku_run does not show with remote xserver

I connect via SSH to my Linux host exporting $DISPLAY. While all other applications work buku_run does not Show (works locally). Any ideas? Maybe rofi does not honor the DISPLAY variable?

Question regarding contributions that might add dependencies

Hi there,
as you probably noticed I am currently tinkering a bit with your project. And I have a few questions as to what your preferences are should I try to expand functionality a bit. In particular I was trying to (optionally) display the bookmark title in the main view instead of its url. Now, awk gets a bit unwieldy when trying to parse more than the first line of the buku output, I think. And so I looked for ouput options and it seems that the most structured output format is json, also multiple lines per entry. For parsing json in bash scripts it seems that, though it can be done, it is stretching the envelope a bit of what should sanely solved using bash :D. Some approaches add new dependencies, for instance jsawk or jq, the latter being, unbeknownst to me, already installed on my system through some other package. I came across one simple and, allegedly, sufficiently robust approach using grep only, so that is worth a try. Now, finally to the questions: Do you mind if dependencies get added, if so, which ones are acceptable? And do you plan on sticking with bash or would you be open to a rewrite in python or something similarly ubiquitous?

Cheers

Help

Hi I'm testing this rofi script and every thing works, except when I run in background, (You know triggered by keybinds) and an message appears for me saying: waiting for input, this break the layout and make the first link and some menus not work, like save a url for example.

here one image to se what I saiyng:

2020-05-11-213432_1366x768_scrot

I believe that could be related to this part of code:

buku_run/buku_run

Lines 255 to 260 in 54fcdd7

echo "$(buku --nc -p | gawk -v max="$max_str_width" -v type="$display_type" '
BEGIN {
RS=""
FS="\n"
}
{

but I cannot fix, any tips?

Add bookmark 'Title' as 2nd line

Great tool, thanks for sharing.

How difficult would it be to print out the 'Title' in addition to the 'URL'? Something like:

 System integration · jarun/Buku Wiki ·                                                       'tag1, tag2"
   > https://github.com/jarun/Buku/wiki/System-integration

So more along how Buku displays the info I suppose. One use case would be youtube does not display the 'Title' in the 'URL'....so I have a lot of bookmarks with no clear indication of where they link to. I could try to define that in a tag, but it would not fit in with my tag system very well.

Here is a example of how a rofi search-tool I use displays information on multiple lines.

rofi-2018-08-17-1927-00000

I would assume the hardest part would be making the output readable. ZZZFOO (above) accomplishes this by having the ability to define different colors for each line. But in this case maybe just making one line bold and the other normal would suffice.

I tried to fork buku_run awhile ago and accomplish it myself, but I didnt get very far because my knowledge of bash scripting sucks apparently. If doing this would not require a rewrite, I would really appreciate any tips and/or input you may have.

Cheers.

Debian package

Hi,

I am going to pack "buku" into Debian archive. Therefore, do you mind that I pack "buku_run" into Debian archive in order to increase the usability on "buku" ?

If your answer is "YES" please send me your name and mail address.

Thank you.

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.