]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - swiftbar_scripts.gmi
1c437bc53cd0c1787572f94c0f51cc17a53f17a1
[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
22
23 ## Monitorcito Bar
24
25 View your monitorcito[3] tracked services at a glance. ○ is shown if everything
26 is OK, and ╳ if at least one service is failing. Clicking on an item refreshes
27 the status.
28
29 => https://git.sr.ht/~rbdr/monitorcito [3] Monitorcito
30 => ./swiftbar/monitorcito.1m.sh ⧇ source