diff --git a/tofi/power/⚿ Restart Yubico Authenticator b/tofi/power/⚿ Restart Yubico Authenticator deleted file mode 100755 index 8c40c13..0000000 --- a/tofi/power/⚿ Restart Yubico Authenticator +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -RUNNING=$(pgrep yubioath-deskto) -if [ "$RUNNING" ]; then - kill $RUNNING - sudo systemctl stop pcscd.socket - sudo systemctl restart pcscd.service - sudo systemctl start pcscd.socket -fi -if [ -z ${SWAYSOCK+x} ]; then - QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins flatpak run com.yubico.yubioath & -else - QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins flatpak run com.yubico.yubioath & -fi