Skip to content

Bash script to use Lastpass CLI together with Rofi

Notifications You must be signed in to change notification settings

rruizt/lastpass-rofi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%