isamert / jaro Goto Github PK
View Code? Open in Web Editor NEWa highly customizable xdg-open alternative
License: GNU General Public License v3.0
a highly customizable xdg-open alternative
License: GNU General Public License v3.0
jaro ~/Téléchargements/LICENSE.txt
Backtrace:
In ice-9/boot-9.scm:
160: 9 [catch #t #<catch-closure 7fbfc1915740> ...]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 7fbfc1915740>]
In ice-9/boot-9.scm:
66: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 6 [eval # #]
In /home/striker/.local/bin/jaro:
384: 5 [main #]
349: 4 [run-assoc-list "/home/striker/Téléchargements/LICENSE.txt" #]
334: 3 [x "/home/striker/Téléchargements/LICENSE.txt" #f]
266: 2 [run-fn-or-system #<procedure 7fbfc15a7c00 at /home/striker/.local/bin/jaro:216:2 (file mime-type)> ...]
217: 1 [#<procedure 7fbfc15a7c00 at /home/striker/.local/bin/jaro:216:2 (file mime-type)> "/home/striker/Téléchargements/LICENSE.txt" ...]
In unknown file:
?: 0 [concatenate (#f # # # ...)]
ERROR: In procedure concatenate:
ERROR: In procedure append: Wrong type argument in position 1 (expecting empty list): #f
This happen only when I give a relative or full path of a file (but it does work for current folder files)
when passing an URI
ERROR: In procedure string-delete:
In procedure string-delete: Wrong type argument in position 2 (expecting string): #\"
when passing a local path
ERROR: In procedure string-split:
In procedure string-split: Wrong type argument in position 1 (expecting string): #f
My apologies if it's just unfinished and not meant to be used yet
; ~/.config/associations
(assoc
#:pattern "inode/directory"
#:program "lf %f"
#:term "st -e"
)
If I open chromium
from sxhkd
# ~/.config/sxhkd/sxhkdrc
XF86HomePage
chromium
Show Folder
in downloads page or download bar does not work.
When running $ setsid chromium
, I get logs on clicking Show Folder
:
In execvp of mimetype: No such file or directory
2020/02/06 17:21:53 initializing termbox: open /dev/tty: no such device or address
I get the first log all the time and wonder what it means.
(I accidentally published the issue before writing it in full and now I'm making lots of edits. When I'm satisfied, I'll remove this comment. Sorry)
README says that Only dependency is guile.
, but it seems jaro
uses mimetype
from perl's File::MimeInfo
Hi, first of all thanks for this great application.
I found it so useful, a wonder if you have any plans to add feature of capture part of #:pattern
and play around with it.
for examble:
this example show neatmail(1)[1] in work
suppose that I have inbox with somethig like that:
N0140 [From] [mail header]
and N140
is the mail ID, now the feature is to have something like that
(assoc
#:pattern "N([0-9]+)"
#:program "grap_the_full_message_program $1")
which allow you to capture the ID without N and put it in $1
.
This idea have been shown by Plan9OS program called plumber(1)[2] introduced by Rop Pike but it's kind of mess, the /Rule/ of plumer written as this
# urls go to web browser
type is text
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
plumb to web
plumb start web $0
FootNote:
[1]: https://github.com/aligrudi/neatmail
[2]: paper: http://doc.cat-v.org/plan_9/4th_edition/papers/plumb
man: http://man.cat-v.org/plan_9/1/plumb
with redirecting xdg-open call to jaro and the current jaro.desktop
thunderbird does not work.
It seems to need an %U
instead of %F
.
Testing with a non-URL, e.g. xdg-open ~/test.pdf
and %U
this still works.
Maybe the jaro.desktop
should ship with %U
instead of %F
?
PS: great project!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.