]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - swiftbar_scripts.gmi
826e6fa2060a2418065937d6c41fd59d912c75dd
[rbdr/r.bdr.sh] / swiftbar_scripts.gmi
1 ## SwiftBar Scripts
2
3 This page holds the SwiftBar[1] / xbar scripts I've made. Since I use the first
4 one, 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 ## Sourcehut Builds
10
11 View the status of your last few builds in sourcehut. You can open the URL by
12 clicking on the menu items.
13 The count of failed, pending and successful runs of the last 15m are shown
14 next to the icon.
15
16 To use the plugin you'll need to set your sourcehut token in the
17 VAR_SOURCEHUT_API_TOKEN variable (See the 'ADD YOUR TOKEN HERE' string). You
18 can also control how many builds to show by changing the VAR_BUILD_COUNT
19 variable (defaults to 5)
20
21 => ./swiftbar/sourcehut-builds.1m.sh ⧇ source