i3: ssh-agent status

This commit is contained in:
Meutel 2017-05-06 22:58:16 +02:00
parent bb156b2543
commit 85ce2e10fc
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/sh
if ssh-add -l > /dev/null 2>&1
then
echo -n ""
else
echo -n ""
fi

View File

@ -12,6 +12,7 @@ order += "disk /"
order += "disk /srv/data"
order += "online_status"
order += "load"
order += "external_script ssh-agent"
order += "tztime local"
online_status {
@ -40,3 +41,6 @@ mpd_status {
state_pause = ""
state_play = ""
}
external_script "ssh-agent" {
script_path = "/home/meutel/.i3/ssh-agent-status.sh"
}