X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/74c706a64dd2ccfa7df553af36884d291603a30e..aecb2ec8e0545b1077b03b892c0a0e5b8d69d4e1:/swiftbar_scripts.gmi diff --git a/swiftbar_scripts.gmi b/swiftbar_scripts.gmi index 8344cd5..030b526 100644 --- a/swiftbar_scripts.gmi +++ b/swiftbar_scripts.gmi @@ -1,3 +1,5 @@ +--- 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 @@ -22,7 +24,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 ⧇ sourcehut-builds.1m.sh ## Monitorcito Bar @@ -41,7 +43,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 ⧇ monitorcito.1m.sh ## Focus Checks @@ -67,8 +69,7 @@ VAR_HALT_ON_FOCUS="Work" 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 @@ -76,13 +77,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 ⧇ focus.utils.sh