Revert: I've found a way to keep dunst and notify about yubikey in the statusbar.

This commit is contained in:
Bartek Stalewski 2022-10-18 22:37:43 +02:00
parent ee352e389e
commit 11bfdb58a1
2 changed files with 9 additions and 0 deletions

6
_desktop/_scripts/sb-yubikey Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
case $(cat $XDG_CACHE_HOME/yubikey.status) in
*_1) printf " <span foreground='#000000' background='#e8b923'> touch the yubikey</span>" ;;
*) printf "" ;;
esac

View File

@ -0,0 +1,3 @@
#!/bin/sh
yubikey-touch-detector --stdout 2>/dev/null| while read cmd; do echo $cmd > $XDG_CACHE_HOME/yubikey.status; done