• @renzev@lemmy.worldOP
    link
    fedilink
    33 months ago

    Would be awesome if there was more software to bridge the gap between CLI and GUI workflows. trash-cli and dragon-drop are pretty useful to that extent, but there is still much that could work better. I want files I’ve touched in bash to appear in the “Recent” section in the GTK filepicker, and stuff like that.

      • @renzev@lemmy.worldOP
        link
        fedilink
        13 months ago

        You could do it in any shell by replacing touch with a function or alias that sends a note to whatever GTK subsystem is responsible for the “recents” tab before making the file. A more comprehensive way would be either using inotify or kernel-level process tracing fuckery, but I’m not smart enough for that