i3-gaps, polybar
This commit is contained in:
12
jira.d/config.yml
Executable file
12
jira.d/config.yml
Executable 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
5
jira.d/custom
Normal 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
2
jira.d/templates/custom
Normal file
@ -0,0 +1,2 @@
|
||||
{{ range .issues }} {{ .key | append ":" | printf "%-12s"}} {{ .fields.summary }} {{ if .fields.assignee }} ^^^@{{ .fields.assignee.key }}{{end}}
|
||||
{{ end }}
|
Reference in New Issue
Block a user