|
|
@ -34,7 +34,7 @@ card_eventmgr { |
|
|
|
action = |
|
|
|
action = |
|
|
|
"if gpg-connect-agent 'SCD SERIALNO' /bye | grep -q 'S SERIALNO'; then sleep 1; if gpg-connect-agent 'SCD SERIALNO' /bye | grep -q 'S SERIALNO'; then exit 1; else exit 0; fi; fi", |
|
|
|
"if gpg-connect-agent 'SCD SERIALNO' /bye | grep -q 'S SERIALNO'; then sleep 1; if gpg-connect-agent 'SCD SERIALNO' /bye | grep -q 'S SERIALNO'; then exit 1; else exit 0; fi; fi", |
|
|
|
"pacat --volume=65536 --file-format=oga /usr/share/sounds/freedesktop/stereo/device-removed.oga", |
|
|
|
"pacat --volume=65536 --file-format=oga /usr/share/sounds/freedesktop/stereo/device-removed.oga", |
|
|
|
"loginctl lock-sessions", "echo LOCK"; |
|
|
|
"loginctl lock-session", "echo LOCK"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Too much time locked session |
|
|
|
# Too much time locked session |
|
|
|