From b2b326544c21b3077a38b5a2df131eb32c6ec357 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sat, 13 Dec 2025 13:28:23 +0000 Subject: [PATCH] [raycast] Remove --- .../Documents/Raycast Scripts/flush-dns.sh | 17 ------------ .../move-downloads-to-trash.applescript | 19 ------------- .../viscosity-connect.applescript | 22 --------------- .../viscosity-disconnect.applescript | 22 --------------- .../Raycast Scripts/wifi.applescript | 27 ------------------- 5 files changed, 107 deletions(-) delete mode 100755 raycast/Documents/Raycast Scripts/flush-dns.sh delete mode 100755 raycast/Documents/Raycast Scripts/move-downloads-to-trash.applescript delete mode 100755 raycast/Documents/Raycast Scripts/viscosity-connect.applescript delete mode 100755 raycast/Documents/Raycast Scripts/viscosity-disconnect.applescript delete mode 100755 raycast/Documents/Raycast Scripts/wifi.applescript diff --git a/raycast/Documents/Raycast Scripts/flush-dns.sh b/raycast/Documents/Raycast Scripts/flush-dns.sh deleted file mode 100755 index f8ae4d7..0000000 --- a/raycast/Documents/Raycast Scripts/flush-dns.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Required parameters: -# @raycast.schemaVersion 1 -# @raycast.title Flush DNS -# @raycast.mode fullOutput -# @raycast.packageName Browsing - -# Optional parameters: -# @raycast.icon 💾 - -# Documentation: -# @raycast.author Andrew Williams -# @raycast.authorURL https://github.com/nikdoof -# @raycast.description Flushes DNS cache on macOS - -sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder diff --git a/raycast/Documents/Raycast Scripts/move-downloads-to-trash.applescript b/raycast/Documents/Raycast Scripts/move-downloads-to-trash.applescript deleted file mode 100755 index ef66d24..0000000 --- a/raycast/Documents/Raycast Scripts/move-downloads-to-trash.applescript +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/osascript - -# Required parameters: -# @raycast.author Jax0rz -# @authorURL https://github.com/Jax0rz -# @raycast.schemaVersion 1 -# @raycast.title Move Downloads to Trash -# @raycast.mode silent -# @raycast.packageName System -# @raycast.needsConfirmation true - -# Optional parameters: -# @raycast.icon images/move-downloads-to-trash.png - -tell application "Finder" - set allDownloads to every item of folder (path to downloads folder as text) - move allDownloads to trash - log "" -end tell diff --git a/raycast/Documents/Raycast Scripts/viscosity-connect.applescript b/raycast/Documents/Raycast Scripts/viscosity-connect.applescript deleted file mode 100755 index d6e0e35..0000000 --- a/raycast/Documents/Raycast Scripts/viscosity-connect.applescript +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/osascript - -# Required parameters: -# @raycast.schemaVersion 1 -# @raycast.title Viscosity: Connect -# @raycast.mode silent -# @raycast.packageName Viscosity -# -# Optional parameters: -# @raycast.icon images/viscosity.png -# @raycast.needsConfirmation false -# @raycast.argument1 { "type": "text", "placeholder": "Configuration" } -# -# Documentation: -# @raycast.description Connect a VPN viscosity configuration. -# @raycast.author Luigi Cardito (credits Achille Lacoin https://github.com/pomdtr) -# @raycast.authorURL https://github.com/lcardito - -on run argv - tell application "Viscosity" to connect (item 1 of argv) - return # Discard Output -end run diff --git a/raycast/Documents/Raycast Scripts/viscosity-disconnect.applescript b/raycast/Documents/Raycast Scripts/viscosity-disconnect.applescript deleted file mode 100755 index ebfcb78..0000000 --- a/raycast/Documents/Raycast Scripts/viscosity-disconnect.applescript +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/osascript - -# Required parameters: -# @raycast.schemaVersion 1 -# @raycast.title Viscosity: Disconnect -# @raycast.mode silent -# @raycast.packageName Viscosity -# -# Optional parameters: -# @raycast.icon images/viscosity.png -# @raycast.needsConfirmation false -# @raycast.argument1 { "type": "text", "placeholder": "Configuration" } -# -# Documentation: -# @raycast.description Disconnect a VPN configuration. -# @raycast.author Luigi Cardito (credits Achille Lacoin https://github.com/pomdtr) -# @raycast.authorURL https://github.com/lcardito - -on run argv - tell application "Viscosity" to disconnect (item 1 of argv) - return # Discard Output -end run diff --git a/raycast/Documents/Raycast Scripts/wifi.applescript b/raycast/Documents/Raycast Scripts/wifi.applescript deleted file mode 100755 index a713c94..0000000 --- a/raycast/Documents/Raycast Scripts/wifi.applescript +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/osascript - -# @raycast.title Toggle Wi-Fi -# @raycast.author Vincent Dörig -# @raycast.authorURL https://github.com/vincentdoerig -# @raycast.description Toggle your Wi-Fi connection. - -# @raycast.icon images/wifi-dark.png -# @raycast.iconDark images/wifi.png -# @raycast.mode silent -# @raycast.packageName System -# @raycast.schemaVersion 1 - -# Wi-Fi interface, should normally be either `en0` or `en1` -# ⌥ + click the wifi icon in your menu bar to display the Wi-Fi interface name -set Interface to "en0" - -set NetworkStatus to (do shell script "networksetup -getairportnetwork " & Interface) -if (NetworkStatus contains "off") then - # turn Wi-Fi on - do shell script "networksetup -setairportpower Interface on" - do shell script "echo Wi-Fi turned on" -else - # turn Wi-Fi off - do shell script "networksetup -setairportpower Interface off" - do shell script "echo Wi-Fi turned off" -end if