You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Björn Bidar d2b246fd36 Port away from deprecated functions which are obsolete or were replaced 2 years ago
.dir-locals.el Initial commit 9 years ago
.gitignore Fix warnings and deprecations, optimize 6 years ago
CMakeLists.txt Port from Desktop file to Json Metadata 3 years ago
LICENSE Initial commit 9 years ago
README.md Add config options, remove deprecations, optimize 6 years ago
config.cpp Port away from deprecated functions which are obsolete or were replaced 2 years ago
config.h Cleanup, set better default behavior 6 years ago
config.ui Cleanup, set better default behavior 6 years ago
install.sh Cleanup, set better default behavior 6 years ago
krunner_pass.notifyrc Fix copy notification 9 years ago
pass.cpp Port away from deprecated functions which are obsolete or were replaced 2 years ago
pass.h Port from Desktop file to Json Metadata 3 years ago
pass.json Port from Desktop file to Json Metadata 3 years ago
plasma-runner-pass_config.desktop Leave directory structure flat 9 years ago
postinst Add config for CPACK 6 years ago
uninstall.sh Cleanup, set better default behavior 6 years ago

README.md

Krunner pass

Integrates krunner with pass.

Use with pass-otp

To use with pass-otp, use the identifier "totp::" as a prefix in the filename or file path of the otp password file.

Alternatively, set $PASSWORD_STORE_OTP_IDENTIFIER to overwrite the identifier string. This must be set in .xprofile or similar file, before the initalization of krunner.

Build and Installation

You can use the provided install.sh script to build and install the plugin.

For archlinux users there is a PKGBUILD in the AUR.

Alternatively if you just want to build the plugin:

$ mkdir -p build
$ cd build
$ cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins`
$ make

For debian (>=9) you will need the following build dependencies:

apt-get install build-essential cmake extra-cmake-modules gettext \
  qtdeclarative5-dev \
  libkf5i18n-dev \
  libkf5service-dev \
  libkf5runner-dev \
  libkf5textwidgets-dev \
  libkf5notifications-dev \
  libkf5kcmutils-dev

mkdir -p build
cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins`
make

For Fedora (>=23) you will need the following build dependencies:

dnf install @development-tools cmake extra-cmake-modules gettext \
   qt5-qtdeclarative-devel \
   kf5-ki18n-devel \
   kf5-kservice-devel \
   kf5-krunner-devel \
   kf5-ktextwidgets-devel \
   kf5-knotifications-devel \
   kf5-kconfigwidgets-devel \

mkdir -p build
cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins`
make