Lock tmux if running

This commit is contained in:
gardouille 2024-07-09 09:52:25 +02:00
parent c077414882
commit faebc9dc67
Signed by: gardouille
GPG Key ID: E759BAA22501AF32

View File

@ -15,6 +15,10 @@
## depend: i3lock
# Lock tmux if running
pgrep tmux >/dev/null &&
tmux lock-client
# SSH Agent
killall --quiet ssh
rm --recursive --force -- ~/.ssh/socks/*