X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/7de2480b5368b4543487a1af28ad61191c97755e..HEAD:/swiftbar_scripts.gmi diff --git a/swiftbar_scripts.gmi b/swiftbar_scripts.gmi index fa9065d..656e1a8 100644 --- a/swiftbar_scripts.gmi +++ b/swiftbar_scripts.gmi @@ -1,9 +1,20 @@ +--- title: swiftbar_scripts.html +--- description: Assorted SwiftBar scripts and utilities I've built. ## SwiftBar Scripts -This page holds the SwiftBar[1] / xbar scripts I've made. Since I use the first -one, I'm not sure whether they work with xbar[2], but should probably be OK. +This page holds the SwiftBar[1] scripts I've made, including some utilities to +extend functionality. => https://swiftbar.app/ [1] SwiftBar + +### Xbar Compatibility + +The scripts aren't built with xbar[2] in mind, so some things will be broken: + +- It uses SF Symbols, so instead of icons you'll see things like :circle:. These should be easily replaceable with other characters. +- Some attributes that are present in swiftbar (eg. tooltip=) will break xbar. + They should be safe to remove. + => https://xbarapp.com/ [2] Xbar ## Sourcehut Builds @@ -22,7 +33,7 @@ To use the plugin you'll need to set your sourcehut token in the VAR_SOURCEHUT_A This script includes focus checks (See focus checks column at the end of this page on how to use them.) -=> ./swiftbar/sourcehut-builds.1m.sh ⧇ source +=> ./swiftbar/sourcehut-builds.1m.sh ⧇ ./swiftbar/sourcehut-builds.1m.sh ## Monitorcito Bar @@ -41,7 +52,7 @@ You can control the URL of the monitorcito instance by adjusting VAR_MONITORCITO This script includes focus checks (See focus checks column at the end of this page on how to use them.) => https://git.sr.ht/~rbdr/monitorcito [3] Monitorcito -=> ./swiftbar/monitorcito.1m.sh ⧇ source +=> ./swiftbar/monitorcito.1m.sh ⧇ ./swiftbar/monitorcito.1m.sh ## Focus Checks @@ -75,13 +86,10 @@ Download and copy focus.utils.sh to your SwiftBar directory on the same director ### Permissions -For the script to correctly get focus data, it requires full disk access. You -can do this by going to System Settings > Privacy & Security > Full Disk Access, -and adding SwiftBar to the list. +For the script to correctly get focus data, it requires full disk access. You can do this by going to System Settings > Privacy & Security > Full Disk Access, and adding SwiftBar to the list. ### For Developers -If you want to include this functionality in your script, check the script -comments for instructions on how to use it in your scripts. +If you want to include this functionality in your script, check the script comments for instructions on how to use it in your scripts. -=> ./swiftbar/focus.utils.sh ⧇ source +=> ./swiftbar/focus.utils.sh ⧇ ./swiftbar/focus.utils.sh