Trying to use handlr to open the web browser in app mode. #48
-
I have this in my handlr config:
bravepiped is the brave browser using the app mode, which lets the browser launch a website without the browser decorations (url bar, bookmarks, etc) it only displays the website and nothing else. The bravepiped script contains this, which launches the application:
I'm trying to use that to replace freetube, which is an electron app that does the same but with brave I can use my browser extensions on top (specially vimium). The issue that I have is that it doesn't work lol, when handlr opens a link with bravepiped it only opens the application and not the link. If I replace the --app=https://pi.ggtyler.dev/feed for --app=$@ it almost works, but the application opens on youtube instead of on the piped instance, and for some reason I don't get redirected to the instance by opening links while in youtube. So the solution would be something like this: --app=https://pi.ggtyler.dev/feed/$@ And I would need to find a way so that only the text after the .com/ in the youtube link gets fed into $@. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solution found, I was watching the last vid of distrotube and he did an example on how to print the last field after the / with awk, that is all I neede to do lol:
|
Beta Was this translation helpful? Give feedback.
Solution found, I was watching the last vid of distrotube and he did an example on how to print the last field after the / with awk, that is all I neede to do lol: