···167167 # When the status_command prints a new line to stdout, swaybar updates.
168168 # The default just shows the current date and time.
169169 status_command statusbar
170170+ font Berkeley Mono Regular 11
170171 pango_markup enabled
171172172173 colors {
+38
.jira.d/config.yml
···11+endpoint: https://do-internal.atlassian.net
22+user: jolson
33+login: jolson@digitalocean.com
44+jira-deployment-type: cloud
55+authentication-method: api-token
66+77+project: machines
88+99+queries:
1010+ all: (assignee in membersOf("Machines-Configuration") or "Team[Team]" = 78222cae-690d-4584-975b-9e84aef003f4) AND status != Done
1111+ initiatives: (assignee in membersOf("Machines-Configuration") or "Team[Team]" = 78222cae-690d-4584-975b-9e84aef003f4) AND status != Done AND issuetype = Initiative
1212+ epics: (assignee in membersOf("Machines-Configuration") or "Team[Team]" = 78222cae-690d-4584-975b-9e84aef003f4) AND status != Done AND issuetype = Epic
1313+ issues: (assignee in membersOf("Machines-Configuration") or "Team[Team]" = 78222cae-690d-4584-975b-9e84aef003f4) AND status != Done
1414+1515+custom-commands:
1616+ - name: epics
1717+ help: testing epic listy
1818+ options:
1919+ - name: abc
2020+ short: a
2121+ default: default
2222+ - name: day
2323+ type: ENUM
2424+ enum:
2525+ - Monday
2626+ - Tuesday
2727+ - Wednesday
2828+ - Thursday
2929+ - Friday
3030+ required: true
3131+ args:
3232+ - name: ARG
3333+ required: true
3434+ - name: MORE
3535+ repeat: true
3636+ script: |
3737+ echo COMMAND {{args.ARG}} --abc {{options.abc}} --day {{options.day}} {{range $more := args.MORE}}{{$more}} {{end}}
3838+
+1
.profile
···2222 export KITCHEN_SSH_GATEWAY_USERNAME=jolson
2323 export DIGITALOCEAN_ACCESS_TOKEN="$(pa show cloud.digitalocean.com | head -1)"
2424 export DIGITALOCEAN_STAGE2_ACCESS_TOKEN="$(pa show stage2.cloud.digitalocean.com | head -1)"
2525+ export JIRA_API_TOKEN="$(pa show jira-api-token)"
2526fi
2627##
+9-8
bin/zora/statusbar
···99 # wifi="$wifiname ($wifistrength%)"
1010 wifi="$wifiname"
1111 fi
1212- vpn="off"
1212+ vpn="disconnected"
1313 if ip link ls gpd0 | grep -q UP; then
1414- vpn="on"
1414+ vpn="connected"
1515 fi
1616 battery="$(cat /sys/class/power_supply/BAT0/capacity)%"
1717 # time=$(date +"%A %Y-%m-%d %I:%M %p")
1818- pst_time=$(TZ=America/Los_Angeles date +"%I:%M PT ")
1919- cst_time=$(TZ=America/Chicago date +"[%I:%M CT] ")
2020- est_time=$(TZ=America/New_York date +"%I:%M ET ")
2121- utc_time=$(date -u +"%H:%M UTC ")
2222- time="$pst_time $cst_time $est_time $utc_time"
1818+ ymd="$(date +"%Y-%m-%d")"
1919+ pst_time=$(TZ=America/Los_Angeles date +"%I:%MPT")
2020+ cst_time=$(TZ=America/Chicago date +"[%I:%MCT]")
2121+ est_time=$(TZ=America/New_York date +"%I:%MET")
2222+ utc_time=$(date -u +"%H:%MUTC")
2323+ time="$pst_time/$cst_time/$est_time/$utc_time"
2324 # --date='TZ="America/New_York"
2424- printf "%s | %s | %s\n" "wifi: ${wifi} vpn: $vpn" "bat: ${battery}" "${time}"
2525+ printf "wifi=%s vpn=%s bat=%s | %s %s\n" "$wifi" "$vpn" "$battery" "$time" "$ymd"
2526 sleep 10
2627done