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
// Name: Move Mouse to Active App | |
// Background: true | |
import "@johnlindquist/kit" | |
import { getFrontmostApp } from "@johnlindquist/mac-frontmost" | |
import { shakeCursor } from "@johnlindquist/mac-cursor-effects" | |
let windowID = "" | |
let windowTitle = "" | |
let recentlyClicked = false |
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
// Name: Move Mouse to Active App | |
// Background: true | |
import "@johnlindquist/kit" | |
import { getFrontmostApp } from "@johnlindquist/mac-frontmost" | |
import { shakeCursor } from "@johnlindquist/mac-cursor-effects" | |
import pkg from "uiohook-napi" | |
const { uIOhook } = pkg | |
let windowID = "" |
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
// Name: Move Mouse to Active App | |
// Background: true | |
import "@johnlindquist/kit" | |
import { getFrontmostApp } from "@johnlindquist/mac-frontmost" | |
import { shakeCursor } from "@johnlindquist/mac-cursor-effects" | |
import pkg from "uiohook-napi" | |
const { UiohookKeyboardEvent, UiohookKey, UiohookMouseEvent, uIOhook } = pkg | |
let bundleIdentifier = "" |
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
// Name: Filter Scripts | |
// Shortcut: opt 7 | |
// Cache: true | |
import "@johnlindquist/kit" | |
let kenv = "kit-examples" | |
let scripts = (await getScripts()).filter(script => script.kenv === kenv) |
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
// Name: List Kit Examples Scripts | |
// Shortcut: opt 7 | |
// Cache: true | |
import "@johnlindquist/kit" | |
import { parseScript } from "@johnlindquist/kit/core/utils" | |
import { globby } from "globby" | |
let kenv = "kit-examples" |
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
// Name: List Kit Examples Scripts | |
// Shortcut: opt 7 | |
// Cache: true | |
import "@johnlindquist/kit" | |
import { parseScript } from "@johnlindquist/kit/core/utils" | |
import { globby } from "globby" | |
let kenv = "kit-examples" |
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
// Name: List Kit Examples Scripts | |
// Shortcut: opt 7 | |
// Cache: true | |
import "@johnlindquist/kit" | |
import { parseScript } from "@johnlindquist/kit/core/utils" | |
import { globby } from "globby" | |
let kenv = "kit-examples" |
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
/* | |
# Fix - Commit and Push | |
- Gets the current git branch name | |
- Takes input of the fix type and a short message | |
- Formats the commit message | |
- Adds, commits and pushes the changes to the remote branch | |
> Make sure you have the necessary permissions to push changes to the remote repository. | |
*/ |
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
// Menu: Open Project | |
// Description: Opens a project in code | |
// Shortcut: cmd shift . | |
// Cache: true | |
// Reminder: If the window isn't showing up, hit ⌘+0 from the main window to | |
// bring it to the center | |
import "@johnlindquist/kit" | |
import path from "path" | |
import fs from "fs" |
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
// Name: CRUD Flags | |
import "@johnlindquist/kit" | |
let choices = ["One", "Two", "Three"] | |
let flags = { | |
create: { | |
name: "Create a New One", | |
}, | |
read: { |