]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - swiftbar_scripts.gmi
Link to swiftbar scripts
[rbdr/r.bdr.sh] / swiftbar_scripts.gmi
CommitLineData
a141dd00
RBR
1## SwiftBar Scripts
2
3This page holds the SwiftBar[1] / xbar scripts I've made. Since I use the first
4one, I'm not sure whether they work with xbar[2], but should probably be OK.
5
6=> https://swiftbar.app/ [1] SwiftBar
7=> https://xbarapp.com/ [2] Xbar
8
9## I.
10### Sourcehut Builds
11
12View the status of your last few builds in sourcehut. You can open the URL by
13clicking on the menu items.
14The count of failed, pending and successful runs of the last 15m are shown
15next to the icon.
16
17To use the plugin you'll need to set your sourcehut token in the
18VAR_SOURCEHUT_API_TOKEN variable (See the 'ADD YOUR TOKEN HERE' string). You
19can also control how many builds to show by changing the VAR_BUILD_COUNT
20variable (defaults to 5)
21
22=> ./swiftbar/sourcehut-builds.1m.sh ⧇ source