Coder Social home page Coder Social logo

Comments (5)

hoshsadiq avatar hoshsadiq commented on September 6, 2024

You can use xclip or the like; rbw get entry | xclip -sel clip

from rbw.

jedahan avatar jedahan commented on September 6, 2024

on wayland rbw get entry | wl-copy --paste-once (paste-once for a little more safety)

from rbw.

lukalot avatar lukalot commented on September 6, 2024

I wrote this Fish shell script to make copying passwords from rbw even easier, though I'm not sure you use Fish:
https://gist.github.com/Lukalot/9493492624b6d31c8d2169f216a5d74e

It could probably be converted to Bash without too much effort.

from rbw.

as3ii avatar as3ii commented on September 6, 2024

(if clipmenu is not installed, the two lines that disable and enable clipctl can be removed)

clipctl disable    # disable clipboard history
rbw get "$entry" | xsel -ibn &
xsel_pid=$!
clipctl enable     # re-emable clipboard history
# kill xsel after 30 seconds
sleep 30
timeout -k 3 2 kill -15 "$xsel_pid" || kill -9 "$xsel_pid"

^ taken from a script i wrote which uses dmenu to choose the entry

from rbw.

doy avatar doy commented on September 6, 2024

fixed in #120

from rbw.

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.