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