rruizt / lastpass-rofi

Bash script to use Lastpass CLI together with Rofi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lastpass-rofi

Bash script to use the official Lastpass CLI together with Rofi.

It works like an alternative to the Lastpass browser extensions or the webapp

Demo

Dependencies

Usage

./lastpass-rofi.sh EMAILADDRESS [OPTIONS]

OPTIONS:
   -t --timeout <HOURS>
                Sets lastpass client session duration. Default value is 1 hour
   -m --mode    <MODE>
                Sets the copy mode [username, password, url, notes] (Defaults to password).

It is recommended to set a keyboard shortcut to trigger the script

Examples

./lastpass-rofi.sh email@localhost -t 6 -m password
./lastpass-rofi.sh email@localhost -t 6 -m account
./lastpass-rofi.sh email@localhost

About

Bash script to use Lastpass CLI together with Rofi


Languages

Language:Shell 100.0%