Skip to content

Instantly share code, notes, and snippets.

@cwage
Created August 17, 2021 20:38
Show Gist options
  • Save cwage/4b7ccfac154b9dd0b1b0ba58c65846f7 to your computer and use it in GitHub Desktop.
Save cwage/4b7ccfac154b9dd0b1b0ba58c65846f7 to your computer and use it in GitHub Desktop.
$ cat bin/xscreensaver-lock
#!/bin/sh
# Purge my passphrase from ssh-agent, if running
#ssh-add -D
killall -9 gpg-agent scdaemon
#pactl set-sink-volume 0 0
xscreensaver-command -lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment