From 802be27107a99eb19ffcb63ecfc41a1ea45b3351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 12 Dec 2020 13:07:22 +0100 Subject: [PATCH] Enable yubikey-touch-detector --- autostart/autostart.sh | 2 ++ i3/i3status.conf.j2 | 5 +++++ packages.yml | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/autostart/autostart.sh b/autostart/autostart.sh index e4973fc..740b3b9 100755 --- a/autostart/autostart.sh +++ b/autostart/autostart.sh @@ -140,6 +140,8 @@ run pasystray pasystray # redshift unit already exists run redshift redshift-gtk -c ~/.config/redshift.conf +run yubikey-touch-detector yubikey-touch-detector -libnotify + if [[ "${MACHINE_HAS_KEEPASSX}" == "true" ]] ; then run keepassx keepassx --keyfile ~/.secret/main.key ~/.secret/main.kdbx fi diff --git a/i3/i3status.conf.j2 b/i3/i3status.conf.j2 index 43ca1b8..fbec720 100644 --- a/i3/i3status.conf.j2 +++ b/i3/i3status.conf.j2 @@ -19,6 +19,7 @@ general { } +order += "yubikey" order += "volume_status output" order += "volume_status input" order += spotify @@ -41,6 +42,10 @@ battery_level all { threshold_full = 95 } +yubikey { + format = '[  YubiKey[\?if=is_gpg ][\?if=is_u2f ] ]' +} + clock { format = ["{DE}", "{NZ}", "{Cuba}", "{MX}", "{CZ}", "{NL}", "{VN}"] format_time = "  {name} \[KW %V\] %a %d.%m.%Y %H:%M:%S " diff --git a/packages.yml b/packages.yml index 715dc85..88aae63 100644 --- a/packages.yml +++ b/packages.yml @@ -323,7 +323,7 @@ packages: gpg: fedora: ["gnupg2", "paperkey", "yubikey-manager"] ubuntu: ["gnupg2"] - archlinux: ["gnupg", "paperkey", "yubikey-manager"] + archlinux: ["gnupg", "paperkey", "yubikey-manager", "yubikey-touch-detector"] networkmanager: fedora: ["NetworkManager", "NetworkManager-wifi"] ubuntu: ["network-manager", "network-manager-openvpn", "network-manager-openconnect"]