scripts/rofi/rofi-yubioath.sh

13 lines
323 B
Bash
Raw Normal View History

#!/bin/bash
RUNNING=$(pgrep yubioath-deskto)
if [ "$RUNNING" ]; then
2023-01-06 19:41:31 +00:00
kill $RUNNING
sudo systemctl stop pcscd.socket
sudo systemctl restart pcscd.service
sudo systemctl start pcscd.socket
fi
QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins /usr/bin/yubioath-desktop &