xlock: Add option
This commit is contained in:
parent
c7c2c89f15
commit
14f7199d65
6 changed files with 16 additions and 8 deletions
|
@ -18,11 +18,7 @@ in
|
|||
(pkgs.writeShellApplication {
|
||||
name = "xlock";
|
||||
text = ''
|
||||
# Remove SSH and GPG keys from keystores
|
||||
${pkgs.openssh}/bin/ssh-add -D
|
||||
echo RELOADAGENT | ${pkgs.gnupg}/bin/gpg-connect-agent
|
||||
${pkgs.coreutils}/bin/rm -rf "/tmp/cached_pass_$UID"
|
||||
# TODO Should probably be an option and defined where relevant?
|
||||
${config.frogeye.hooks.lock}
|
||||
# TODO Maybe we could have a terminal lock? With vlock.
|
||||
|
||||
# TODO Does that work for all DMs?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue