i3: ssh-agent status
This commit is contained in:
parent
bb156b2543
commit
85ce2e10fc
8
_i3__abraracourcix/ssh-agent-status.sh
Executable file
8
_i3__abraracourcix/ssh-agent-status.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if ssh-add -l > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
echo -n ""
|
||||||
|
else
|
||||||
|
echo -n ""
|
||||||
|
fi
|
@ -12,6 +12,7 @@ order += "disk /"
|
|||||||
order += "disk /srv/data"
|
order += "disk /srv/data"
|
||||||
order += "online_status"
|
order += "online_status"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
order += "external_script ssh-agent"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
online_status {
|
online_status {
|
||||||
@ -40,3 +41,6 @@ mpd_status {
|
|||||||
state_pause = ""
|
state_pause = ""
|
||||||
state_play = ""
|
state_play = ""
|
||||||
}
|
}
|
||||||
|
external_script "ssh-agent" {
|
||||||
|
script_path = "/home/meutel/.i3/ssh-agent-status.sh"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user