Code Monkey home page Code Monkey logo

Comments (5)

goodboy avatar goodboy commented on August 24, 2024

Woo i love this and it pertains to what i'm still planning to finish in #422 😎

Another launcher that might be worth thinking about (if we wanted to generalize) is https://github.com/chmln/handlr which I've been meaning to give a serious try 🏄🏼

from gomuks.

AlexBocken avatar AlexBocken commented on August 24, 2024

Is that what your last point in the original comment of #422 pertains to? (Btw, really looking forward to that one being merged)

it'd be suuuper slick if we could use ranger for opening media files as well - eg. when clicking an inline image?

I wasn't sure whether that's the same idea. I must admit I'm not too familiar with the code base and/or Go, so if you think it's quick for you to implement and are open to do it please go ahead.
The basic idea is just to replace "xdg-open" in

https://github.com/tulir/gomuks/blob/09a927955810f6f0c6d3f4809d9b01eda365fd39/lib/open/open_xdg.go#L5C1-L5C27

WIth a user-settable string.

from gomuks.

goodboy avatar goodboy commented on August 24, 2024

(Btw, really looking forward to that one being merged)

Yeah, sorry just been totally derailed by a new distro and how to get stuff working and setup for dev in golang again.
I'm definitely looking forward to it too 😂

I wasn't sure whether that's the same idea. I must admit I'm not too familiar with the code base and/or Go, so if you think it's quick for you to implement and are open to do it please go ahead.

I just think it's somewhat related in the sense that choosing a program for file-dialogs is more or less related to xdg-open portals (at least afaiu) and thus i think what you're more or less asking for is pluggable xdg-portal backends?


I have the following resources on my learning list for all this:

from gomuks.

goodboy avatar goodboy commented on August 24, 2024

@AlexBocken oh also not sure if you're in the matrix room but we can discuss in their as well if you want 😉

from gomuks.

TamasBarta avatar TamasBarta commented on August 24, 2024

Hello! This feature would be especially amazing for macOS users, since we have open here, and open cannot recognize file headers, only file extensions, so by default it tries to open everything in some default text editor, that I didn't even know existed. (That could be a separate issue to append a proper file extension to the temporary files' names.) Also I believe open will never support to open a file in the same terminal, and wait for its completion, which also would be amazing for opening files in terminal tools.

(I miss Linux so much 😢)

from gomuks.

Related Issues (20)

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.