+--- 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
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
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
If neither variable is set, then all checks will be disabled.
-The script will only appear or disappear when it's next refreshed. If you
-want this faster, trigger a full refresh of your plugins.
+The script will only appear or disappear when it's next refreshed. If you want this faster, trigger a full refresh of your plugins.
### Setup
### 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