Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

yubikey-touch-detector script for sending notifications when you need to tap your key

Notifications You must be signed in to change notification settings

dnelson/yubikey-touch-notifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yubikey-touch-notifier

Archived

I didn't realize that this duplicates built in functionality. Just do mkdir $XDG_CONFIG_HOME/yubikey-touch-detector; echo 'YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY=true' > $XDG_CONFIG_HOME/yubikey-touch-detector/service.conf and systemctl --user restart yubikey-touch-detector instead.

If you really want to customize your notifications, then this might be helpful 🤷

Info

This repository offers a reader daemon script for yubikey-touch-detector, which uses notify-send, so you can see if your YubiKey is waiting for a touch via a notification.

Screenshots

When YubiKey is waiting for a touch:

Touch Notification

Installation

Make sure you have yubikey-touch-detector installed and running before proceeding. Also requires rsvg-convert

mkdir -p ~/.local/bin/
cp ./yubikey-touch-notifier ~/.local/bin/
mkdir -p ~/.config/systemd/user
cp ./yubikey-touch-notifier.service ~/.config/systemd/user/

systemctl --user daemon-reload
systemctl --user enable --now yubikey-touch-notifier.service

About

yubikey-touch-detector script for sending notifications when you need to tap your key

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Shell 100.0%