mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
remove raycast extension
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
nvim/plugin/
|
||||
nvim/.netrwhist
|
||||
raycast/extensions
|
||||
*.env
|
||||
.git/
|
||||
.DS_Store
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 168 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||||
"name": "music",
|
||||
"title": "Music",
|
||||
"description": "Control the Apple Music app with your keyboard.",
|
||||
"icon": "icon.png",
|
||||
"author": "fedevitaledev",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"music",
|
||||
"player",
|
||||
"media"
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"name": "toggle-play-pause",
|
||||
"title": "Toggle Play/Pause",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Toggle play or pause of current track in Music.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "play",
|
||||
"title": "Play",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Play current track in Music.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "pause",
|
||||
"title": "Pause",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Pause current track in Music.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "next-track",
|
||||
"title": "Next Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Skip to the next track in Music.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "previous-track",
|
||||
"title": "Previous Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Skip to the previous track in Music.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "currently-playing",
|
||||
"title": "Currently Playing Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Get info about currently playing track.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "love",
|
||||
"title": "Love Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Love currently playing track.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "dislike",
|
||||
"title": "Dislike Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Dislike currently playing track.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "add-to-library",
|
||||
"title": "Add to Library",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Add currently playing track to your library.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "love-and-add-to-library",
|
||||
"title": "Love and Add to Library",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Love and add currently playing track to your library.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "start-playlist",
|
||||
"title": "Start Playlist",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Start any of your playlists.",
|
||||
"keywords": [
|
||||
"playlist"
|
||||
],
|
||||
"mode": "view"
|
||||
},
|
||||
{
|
||||
"name": "play-library-track",
|
||||
"title": "Search & Play Library Track",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Search and start a track from your library.",
|
||||
"keywords": [
|
||||
"track"
|
||||
],
|
||||
"mode": "view"
|
||||
},
|
||||
{
|
||||
"name": "play-library-album",
|
||||
"title": "Search & Play Library Album",
|
||||
"subtitle": "Apple Music",
|
||||
"description": "Search and start an album from your library.",
|
||||
"keywords": [
|
||||
"album"
|
||||
],
|
||||
"mode": "view"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@raycast/api": "^1.25.4",
|
||||
"fp-ts": "^2.11.5",
|
||||
"run-applescript": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "~16.10.0",
|
||||
"@types/react": "^17.0.28",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"react-devtools": "^4.19.2",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ray build -e dist",
|
||||
"dev": "ray develop"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 9.1 KiB |
File diff suppressed because one or more lines are too long
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||||
"name": "coinmarketcap-crypto-price-crawler",
|
||||
"title": "CoinMarketCap Crypto Search",
|
||||
"description": "A price crawler to search crypto price from Coinmarketcap.",
|
||||
"icon": "coinmarketcap-icon.png",
|
||||
"author": "SonicSpark",
|
||||
"license": "MIT",
|
||||
"commands": [
|
||||
{
|
||||
"name": "index",
|
||||
"title": "Search Crypto",
|
||||
"subtitle": "CoinMarketCap",
|
||||
"description": "Search for Coin Prices",
|
||||
"mode": "view"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@raycast/api": "^1.25.0",
|
||||
"axios": "^0.21.1",
|
||||
"cheerio": "^1.0.0-rc.10",
|
||||
"dayjs": "^1.10.7",
|
||||
"fs-extra": "^10.0.0",
|
||||
"fuzzysort": "^1.1.4",
|
||||
"node-fetch": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/node": "~16.10.0",
|
||||
"@types/react": "^17.0.28",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"react-devtools": "^4.19.2",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ray build -e dist",
|
||||
"dev": "ray develop"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
File diff suppressed because one or more lines are too long
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||||
"name": "hacker-news",
|
||||
"title": "Hacker News",
|
||||
"description": "Read the latest stories of Hacker News.",
|
||||
"icon": "icon.png",
|
||||
"author": "thomas",
|
||||
"categories": [
|
||||
"News"
|
||||
],
|
||||
"contributors": [
|
||||
"sxn"
|
||||
],
|
||||
"license": "MIT",
|
||||
"commands": [
|
||||
{
|
||||
"name": "frontpage",
|
||||
"title": "Hacker News",
|
||||
"description": "Get the latest Hacker News stories.",
|
||||
"mode": "view"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@raycast/api": "^1.31.0",
|
||||
"lodash": "^4.17.21",
|
||||
"rss-parser": "3.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.14.180",
|
||||
"@types/node": "~16.10.0",
|
||||
"@types/react": "17.0.41",
|
||||
"@typescript-eslint/eslint-plugin": "5.15.0",
|
||||
"@typescript-eslint/parser": "5.15.0",
|
||||
"eslint": "8.11.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-react-hooks": "4.3.0",
|
||||
"react-devtools": "^4.24.1",
|
||||
"typescript": "4.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ray build -e dist",
|
||||
"dev": "ray develop",
|
||||
"lint": "ray lint"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,148 +0,0 @@
|
||||
{
|
||||
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||||
"name": "spotify-controls",
|
||||
"title": "Spotify Controls",
|
||||
"description": "Control the Spotify app for macOS with your keyboard.",
|
||||
"icon": "icon.png",
|
||||
"author": "thomas",
|
||||
"contributors": [
|
||||
"altrdev",
|
||||
"ron-myers",
|
||||
"sandypockets"
|
||||
],
|
||||
"license": "MIT",
|
||||
"commands": [
|
||||
{
|
||||
"name": "play",
|
||||
"title": "Play",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Plays current track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "pause",
|
||||
"title": "Pause",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Pause current track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "playPause",
|
||||
"title": "Toggle Play/Pause",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Toggles play or pause of current track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "previousTrack",
|
||||
"title": "Previous Track",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Skips to the previous track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "nextTrack",
|
||||
"title": "Next Track",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Skips to the next track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "current",
|
||||
"title": "Current Track",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Currently playing track in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "increaseVolume",
|
||||
"title": "Increase Volume",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Increase volume in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "decreaseVolume",
|
||||
"title": "Decrease Volume",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Decrease volume in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "quarterVolume",
|
||||
"title": "Set Volume to 25%",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Sets volume to 25% in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "halfVolume",
|
||||
"title": "Set Volume to 50%",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Sets volume to 50% in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "threeQuartersVolume",
|
||||
"title": "Set Volume to 75%",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Sets volume to 75% in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "fullVolume",
|
||||
"title": "Set Volume to 100%",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Sets volume to 100% in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "copyUrl",
|
||||
"title": "Copy Current Track URL",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Currently playing song's URL in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "shuffle",
|
||||
"title": "Toggle Shuffle",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Toggles shuffle mode in Spotify.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "shufflePlay",
|
||||
"title": "Shuffle Play",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Plays current track with shuffle enabled.",
|
||||
"mode": "no-view"
|
||||
},
|
||||
{
|
||||
"name": "repeat",
|
||||
"title": "Toggle Repeat",
|
||||
"subtitle": "Spotify",
|
||||
"description": "Toggles repeat mode in Spotify.",
|
||||
"mode": "no-view"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@raycast/api": "^1.28.0",
|
||||
"run-applescript": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "~16.10.0",
|
||||
"@types/react": "^17.0.28",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"prettier": "2.4.1",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ray build -e dist",
|
||||
"dev": "ray develop",
|
||||
"lint": "ray lint"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules
|
||||
41
raycast/toggle-airpods.swift
Executable file
41
raycast/toggle-airpods.swift
Executable file
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/swift
|
||||
|
||||
// Required parameters:
|
||||
// @raycast.schemaVersion 1
|
||||
// @raycast.title Toggle AirPods
|
||||
// @raycast.mode silent
|
||||
// @raycast.packageName Audio
|
||||
//
|
||||
// Optional parameters:
|
||||
// @raycast.icon images/airpod.png
|
||||
//
|
||||
// Documentation:
|
||||
// @raycast.description Toggle AirPods bluetooth device
|
||||
// @raycast.author Nichlas W. Andersen
|
||||
// @raycast.authorURL https://github.com/itsnwa
|
||||
import IOBluetooth
|
||||
|
||||
// Get your device's MAC address by option (⌥) + clicking the bluetooth icon in the menu bar
|
||||
let deviceAddress = ""
|
||||
|
||||
func toggleAirPods() {
|
||||
guard let bluetoothDevice = IOBluetoothDevice(addressString: deviceAddress) else {
|
||||
print("Device not found")
|
||||
exit(1)
|
||||
}
|
||||
|
||||
if !bluetoothDevice.isPaired() {
|
||||
print("Device not paired")
|
||||
exit(1)
|
||||
}
|
||||
|
||||
if bluetoothDevice.isConnected() {
|
||||
print("AirPods Disconnected")
|
||||
bluetoothDevice.closeConnection()
|
||||
} else {
|
||||
print("AirPods Connected")
|
||||
bluetoothDevice.openConnection()
|
||||
}
|
||||
}
|
||||
|
||||
toggleAirPods()
|
||||
Reference in New Issue
Block a user