Browse Source

Fixes

master
Arti Zirk 5 years ago
parent
commit
86c055c993
  1. 2
      .config/pam_pkcs11/card_eventmgr.conf
  2. 3
      .config/sway/config

2
.config/pam_pkcs11/card_eventmgr.conf

@ -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

3
.config/sway/config

@ -56,6 +56,9 @@ exec ~/.bin/polkit-agent
# Dropbox # Dropbox
exec ~/code/dropbox-filesystem-fix/dropbox_start.py exec ~/code/dropbox-filesystem-fix/dropbox_start.py
# fix env variables for xdg-desktop-portal
exec dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
# React to smart card events # React to smart card events
exec card_eventmgr config_file=.config/pam_pkcs11/card_eventmgr.conf exec card_eventmgr config_file=.config/pam_pkcs11/card_eventmgr.conf

Loading…
Cancel
Save