rofi icon indicating copy to clipboard operation
rofi copied to clipboard

D-Bus modi (C API / library mode)

Open repomaa opened this issue 9 years ago • 5 comments

It'd be awesome to see a c api for rofi!

repomaa avatar Aug 26 '15 15:08 repomaa

hmm that would take some rewriting.

DaveDavenport avatar Aug 26 '15 19:08 DaveDavenport

Now that we switched to a GLib main loop, it could be quite “easy” to have a mode named dbus that would register org.gmpclient.rofi (has rofi its own domain?) and feed rofi from that. Then on accept-entry, it would return the value to the caller. All of that would work with D-Bus activation, and if you really need to, you could make a wrapper library (like libnotify does for org.freedesktop.Notifications).

sardemff7 avatar May 16 '16 14:05 sardemff7

any updates here? :) It's almost two years ago when i opened this issue.

repomaa avatar Aug 03 '17 12:08 repomaa

No update. I have no interest in this (I haven't heard a good use-case for it).

If somebody would provide a good PR and is willing to maintain it, I would accept it.

DaveDavenport avatar Aug 03 '17 12:08 DaveDavenport

This can now be an external project using the plugin API, btw.

sardemff7 avatar Aug 03 '17 15:08 sardemff7