i3-gaps, polybar

This commit is contained in:
2020-01-26 11:31:35 +01:00
parent aa9923a2be
commit 446672331f
32 changed files with 2164 additions and 12 deletions

12
jira.d/config.yml Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
echo "endpoint: https://jazzypro.atlassian.net"
echo "user: aleksander.cynarski@jazzy.pro"
echo "authentication-method: api-token"
if [ -f ${PWD}/.jira ]; then
PROJECT=`cat ${PWD}/.jira`
echo "project: $PROJECT"
fi
cat ~/.jira.d/custom

5
jira.d/custom Normal file
View File

@ -0,0 +1,5 @@
custom-commands:
- name: mine
help: display issues assigned to me
script: |-
{{jira}} list --query "resolution = unresolved and assignee=currentuser() ORDER BY created"

2
jira.d/templates/custom Normal file
View File

@ -0,0 +1,2 @@
{{ range .issues }} {{ .key | append ":" | printf "%-12s"}} {{ .fields.summary }} {{ if .fields.assignee }} ^^^@{{ .fields.assignee.key }}{{end}}
{{ end }}