Prototype Release - Alpha 2
Pre-release
Pre-release
richinfante
released this
15 Feb 14:21
·
13 commits
to master
since this release
Configuration in ~/.config/shbar/shbar.json
Example config:
[
{
"titleRefreshInterval" : 120,
"title" : "IP Address",
"mode" : "RefreshingItem",
"titleScript" : {
"bin" : "/bin/sh",
"args" : [
"-c",
"echo IP: $(curl https://api.ipify.org)"
],
"env" : {
"PATH" : "/usr/bin:/usr/local/bin:/sbin:/bin"
}
}
}, {
"autostartJob" : false,
"jobScript" : {
"bin" : "/bin/bash",
"args" : [
"-c",
"cd /my-server && serve"
],
"env" : {
"PATH" : "/usr/bin:/usr/local/bin:/sbin:/bin"
}
},
"title" : "Example Server",
"mode" : "JobStatus",
"reloadJob" : false
},
{
"mode" : "ApplicationQuit",
"title" : "Quit",
"shortcutKey" : "q"
}
]