This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%* | |
const dv = app.plugins.plugins["dataview"].api; | |
const openPublishPanel = app.commands.commands["publish:view-changes"].callback; | |
// ---------------------- | |
// Update query files | |
// ---------------------- | |
const updateQueryFiles = async () => { | |
const fileAndQuery = new Map([ | |
[ | |
"Books Read (Auto-Updating)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zx | |
// yabai message | |
const ym = async (arg) => await $`yabai -m ${arg.split(" ")}`; | |
const hideAllApps = async () => { | |
await $`osascript -e 'tell application "System Events" to set visible of every process whose visible is true to false'`; | |
}; | |
const laptop = 1; |
OlderNewer