All Projects → mattydebie → Bitwarden Rofi

mattydebie / Bitwarden Rofi

Licence: gpl-3.0
Wrapper for Bitwarden https://github.com/bitwarden/cli and Rofi

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Bitwarden Rofi

Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (-75.16%)
Mutual labels:  rofi
Polybar Kdeconnect
KDEConnect module for Polybar
Stars: ✭ 94 (-40.13%)
Mutual labels:  rofi
The Glorious Dotfiles
A glorified personal dot files
Stars: ✭ 1,850 (+1078.34%)
Mutual labels:  rofi
Ntfd
A lightweight notification daemon for fancy desktop integrations
Stars: ✭ 44 (-71.97%)
Mutual labels:  rofi
Dotfiles
🐧 Configuration files
Stars: ✭ 81 (-48.41%)
Mutual labels:  rofi
Dots
A Repository For Config Files / Dotfiles / Themes / Color Schemes / Etc...
Stars: ✭ 100 (-36.31%)
Mutual labels:  rofi
Server
The core infrastructure backend (API, database, Docker, etc).
Stars: ✭ 8,797 (+5503.18%)
Mutual labels:  bitwarden
Rofi
A large collection of Rofi based custom Menu, Applets, Launchers & Powermenus.
Stars: ✭ 2,907 (+1751.59%)
Mutual labels:  rofi
Eidolon
Provides a single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu.
Stars: ✭ 85 (-45.86%)
Mutual labels:  rofi
Website
The bitwarden.com product website.
Stars: ✭ 110 (-29.94%)
Mutual labels:  bitwarden
Dotfiles
My dotfiles, managed with GNU stow
Stars: ✭ 56 (-64.33%)
Mutual labels:  rofi
I3 Quickterm
A small drop-down terminal for i3 and sway
Stars: ✭ 76 (-51.59%)
Mutual labels:  rofi
Keepmenu
Dmenu/Rofi frontend for Keepass databases
Stars: ✭ 105 (-33.12%)
Mutual labels:  rofi
Bitwarden rs
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
Stars: ✭ 12,536 (+7884.71%)
Mutual labels:  bitwarden
Dotfiles
Collection of i3-gaps Dotfiles
Stars: ✭ 143 (-8.92%)
Mutual labels:  rofi
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+527.39%)
Mutual labels:  rofi
Dotfiles
My dotfiles managed by GNU Stow - Arch, i3-gaps, bspwm, ncmpcpp, (neo)vim, zsh etc.
Stars: ✭ 99 (-36.94%)
Mutual labels:  rofi
I3 Rice Rin Shelter
My i3wm rice with theme "Rin : shelter"
Stars: ✭ 146 (-7.01%)
Mutual labels:  rofi
Web
The website vault (vault.bitwarden.com).
Stars: ✭ 2,169 (+1281.53%)
Mutual labels:  bitwarden
Rofi Spotlight
Spotlight-like Rofi
Stars: ✭ 109 (-30.57%)
Mutual labels:  rofi

Bitwarden Rofi Menu

This is a work in progress to get the BitWarden cli functionality in an easy Rofi menu. On selecting an entry, the password is copied to your clipboard for 5 seconds. During those 5 seconds, a notification is shown indicating which password you are copying at that time.

bitwarden-rofi

Usage

You can either execute the script from a terminal or by binding it to a key combination in your window manager.

bwmenu 0.4

Usage:
  bwmenu [options] -- [rofi options]

Options:
  --help
      Show this help text and exit.

  --version
      Show version information and exit.

  --auto-lock <SECONDS>
      Automatically lock the Vault <SECONDS> seconds after last unlock.
      Use 0 to lock immediatly.
      Use -1 to disable.
      Default: 900 (15 minutes)

  -c <SECONDS>, --clear <SECONDS>, --clear=<SECONDS>
      Clear password from clipboard after this many seconds.
      Defaults: 5 seconds.

  -C, --no-clear
      Don't automatically clear the password from the clipboard. This disables
      the default --clear option.

  --show-password
      Show the first 4 characters of the copied password in the notification.

Quick Actions:
  When hovering over an item in the rofi menu, you can make use of Quick Actions.

  Alt+r  Resync your vault

  Alt+u  Search through urls
  Alt+n  Search through names
  Alt+c  Search through folders

  Alt+t  Copy the TOTP
  Alt+1  Autotype the username and password [needs xdotool (Xorg) / ydotool (Wayland)]
  Alt+2  Autotype the username [needs xdotool (Xorg) / ydotool (Wayland)]
  Alt+3  Autotype the password [needs xdotool (Xorg) / ydotool (Wayland)]
  
  Alt+L  Lock your vault

Examples:
  # Default options work well
  bwmenu

  # Immediatly lock the Vault after use
  bwmenu --auto-lock 0

  # Never lock the Vault
  bwmenu --auto-lock -1

  # Place rofi on top of screen, like a Quake console
  bwmenu -- -location 2

Functions

  • Alt+r: Resync Bitwarden
  • Alt+u: Search on url
  • Alt+n: Search on names
  • Alt+c: Select folder to search in
  • Alt+t: Copy the TOTP
  • Alt+L: Lock and exit

Auto Typing

You can use bitwarden-rofi to auto type your username, password or both by using xdotool/ydotool to autofill forms.

  • Alt+1: Type username and password
  • Alt+2: Type only the username
  • Alt+3: Type only the password

Wayland Users: For autotyping to work in Wayland, you will need ydotool working with root permissions (it needs access to /dev/uinput) without asking for password. For example, this can be achieved by adding this line in visudo:

your_username ALL=(ALL) NOPASSWD: /usr/bin/ydotool

Install

Via package managers

Packaging status

Arch Linux (AUR)

Install the bitwarden-rofi AUR package for the latest release or the bitwarden-rofi-git for the current master.
For copying or autotyping, install:

  • xorg: xclip,xsel and/or xdotool
  • wayland: wl-clipboard and ydotool

Via source

Install these required dependencies:

  • rofi
  • bitwarden-cli
  • jq

Gentoo Users: It appears Gentoo does not provide a kernel with keyctl. If so, make sure to install this as well

Optionally install these requirements:

  • xclip, xsel, or wl-clipboard
  • xdotool or ydotool

Then download the script file and place it somewhere on your $PATH and grant it the +x permission.

# Install for all users
sudo install -D --mode=755 --group=root --owner=root bwmenu /usr/local/bin/bwmenu

# Install for yourself
mkdir -p ~/.local/bin && \
  cp bwmenu ~/.local/bin/bwmenu && \
  chmod +x ~/.local/bin/bwmenu

Hall of Fame

License

Released under the GNU General Public License, version 3. See LICENSE file.

Copyright © 2018-2019

  • Andreas Backx
  • Daniel Prado
  • Jonathan Raphaelson.
  • Magnus Bergmark
  • Matthias De Bie
  • Remy Rojas
  • Baptiste Pierrat
  • Nathan Wallace
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].