Skip to content

yubikey-touch-detector script for writing data in format readable by xfce4-genmon-plugin

Notifications You must be signed in to change notification settings

invidian/xfce4-yubikey-touch-detector-plugin

Repository files navigation

xfce4 yubikey-touch-detector plugin

This repository offers a reader daemon script for yubikey-touch-detector, which writes status data in format compatible with xfce4-genmon-plugin plugin, so you can see if your YubiKey is waiting for a touch on your Xfce panel.

Screenshots

When YubiKey is pending the touch:

Pending

And when it's not pending:

Not pending

Installation

Make sure you have yubikey-touch-detector installed and running before proceeding.

mkdir -p ~/.local/bin/
cp ./yubikey-touch-detector-status-writer ~/.local/bin/
mkdir -p ~/.config/systemd/user
cp ./yubikey-touch-detector-status.service ~/.config/systemd/user/

systemctl --user daemon-reload
systemctl --user enable --now yubikey-touch-detector-status.service

Once running, add new xfce4-genmon-plugin to your panel and configure it to run the following command:

cat .cache/yubikey-touch-detector-status/current

About

yubikey-touch-detector script for writing data in format readable by xfce4-genmon-plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages