Configure pam-gnupg
Automatically unlock my GPG key on login to make it easier to work with pass, neomutt, etc. See https://github.com/cruegge/pam-gnupg.
This commit is contained in:
parent
5b224bbe42
commit
14583971ed
5 changed files with 33 additions and 6 deletions
|
@ -22,11 +22,13 @@
|
|||
ABBR_SET_EXPANSION_CURSOR = 1;
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
profileExtra = ''
|
||||
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" == "/dev/tty1" ]]; then
|
||||
exec startx &>/dev/null
|
||||
exec startx
|
||||
fi
|
||||
'';
|
||||
|
||||
initExtra = ''
|
||||
background() {
|
||||
for ((i=2;i<=$#;i++)); do
|
||||
''${@[1]} ''${@[$i]} &> /dev/null &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue