Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.11 KB

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