Skip to content

gfarrell/rofi-khard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple khard integration for rofi

This provides a really simple modus for rofi to integrate contacts from khard. The motivation for this is that, coming from macOS I was spoilt by the contacts integration Alfred had. I'm forever looking up phone numbers and email addresses and just wanted them to be easily accessible (and copyable).

TODO

  • Basic script with emails and phone numbers
  • Package the modus so it is installable
  • Create a PKGBUILD so it is pacman installable
  • Make it possible to include addresses as well as emails and phones

Requirements

  • X11 and xclip for copying to the clipboard
  • python3 and pyyaml to interpret the khard output
  • zsh for the main script
  • khard, obviously, otherwise there's not much point

Installation

TODO

Usage

When the modus first runs it provides a list of all contact names (as per the formatted_name). When you hit enter on one of your contacts, it will show phone numbers and email addresses (using the labels in your contacts). If you hit enter on one of those then it will copy to the clipboard using xclip.

rofi -modi contacts:/path/to/rofi-khard/rofi_khard.sh -show contacts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published