dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5caa2a19a19d5dae5c3e84a74e95e6b11270c299
parent 184984cbfcc670fa63b32f2a7d04f69585f5bc52
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue, 29 Jun 2021 15:02:18 +0200

macOS scripts to create & delete space (expose/mission control)

Well, they're not really 'scripts', they have to be packaged as .apps
for this to work. But you can open them in the Script Editor app.

Diffstat:
Ascripts/macos-delete-space.app/Contents/Info.plist | 74++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ascripts/macos-delete-space.app/Contents/MacOS/applet | 0
Ascripts/macos-delete-space.app/Contents/PkgInfo | 2++
Ascripts/macos-delete-space.app/Contents/Resources/Scripts/main.scpt | 0
Ascripts/macos-delete-space.app/Contents/Resources/applet.icns | 0
Ascripts/macos-delete-space.app/Contents/Resources/applet.rsrc | 0
Ascripts/macos-delete-space.app/Contents/Resources/description.rtfd/TXT.rtf | 6++++++
Ascripts/macos-new-space.app/Contents/Info.plist | 74++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ascripts/macos-new-space.app/Contents/MacOS/applet | 0
Ascripts/macos-new-space.app/Contents/PkgInfo | 2++
Ascripts/macos-new-space.app/Contents/Resources/Scripts/main.scpt | 0
Ascripts/macos-new-space.app/Contents/Resources/applet.icns | 0
Ascripts/macos-new-space.app/Contents/Resources/applet.rsrc | 0
Ascripts/macos-new-space.app/Contents/Resources/description.rtfd/TXT.rtf | 6++++++
14 files changed, 164 insertions(+), 0 deletions(-)

diff --git a/scripts/macos-delete-space.app/Contents/Info.plist b/scripts/macos-delete-space.app/Contents/Info.plist @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleAllowMixedLocalizations</key> + <true/> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>applet</string> + <key>CFBundleIconFile</key> + <string>applet</string> + <key>CFBundleIdentifier</key> + <string>com.apple.ScriptEditor.id.macos-delete-space</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>macos-delete-space</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>aplt</string> + <key>LSMinimumSystemVersionByArchitecture</key> + <dict> + <key>x86_64</key> + <string>10.6</string> + </dict> + <key>LSRequiresCarbon</key> + <true/> + <key>NSAppleEventsUsageDescription</key> + <string>This script needs to control other applications to run.</string> + <key>NSAppleMusicUsageDescription</key> + <string>This script needs access to your music to run.</string> + <key>NSCalendarsUsageDescription</key> + <string>This script needs access to your calendars to run.</string> + <key>NSCameraUsageDescription</key> + <string>This script needs access to your camera to run.</string> + <key>NSContactsUsageDescription</key> + <string>This script needs access to your contacts to run.</string> + <key>NSHomeKitUsageDescription</key> + <string>This script needs access to your HomeKit Home to run.</string> + <key>NSMicrophoneUsageDescription</key> + <string>This script needs access to your microphone to run.</string> + <key>NSPhotoLibraryUsageDescription</key> + <string>This script needs access to your photos to run.</string> + <key>NSRemindersUsageDescription</key> + <string>This script needs access to your reminders to run.</string> + <key>NSSiriUsageDescription</key> + <string>This script needs access to Siri to run.</string> + <key>NSSystemAdministrationUsageDescription</key> + <string>This script needs access to administer this system to run.</string> + <key>WindowState</key> + <dict> + <key>bundleDividerCollapsed</key> + <true/> + <key>bundlePositionOfDivider</key> + <real>0.0</real> + <key>dividerCollapsed</key> + <false/> + <key>eventLogLevel</key> + <integer>2</integer> + <key>name</key> + <string>ScriptWindowState</string> + <key>positionOfDivider</key> + <real>588</real> + <key>savedFrame</key> + <string>14 47 1412 839 0 0 1440 900 </string> + <key>selectedTab</key> + <string>description</string> + </dict> +</dict> +</plist> diff --git a/scripts/macos-delete-space.app/Contents/MacOS/applet b/scripts/macos-delete-space.app/Contents/MacOS/applet Binary files differ. diff --git a/scripts/macos-delete-space.app/Contents/PkgInfo b/scripts/macos-delete-space.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPLaplt+ \ No newline at end of file diff --git a/scripts/macos-delete-space.app/Contents/Resources/Scripts/main.scpt b/scripts/macos-delete-space.app/Contents/Resources/Scripts/main.scpt Binary files differ. diff --git a/scripts/macos-delete-space.app/Contents/Resources/applet.icns b/scripts/macos-delete-space.app/Contents/Resources/applet.icns Binary files differ. diff --git a/scripts/macos-delete-space.app/Contents/Resources/applet.rsrc b/scripts/macos-delete-space.app/Contents/Resources/applet.rsrc Binary files differ. diff --git a/scripts/macos-delete-space.app/Contents/Resources/description.rtfd/TXT.rtf b/scripts/macos-delete-space.app/Contents/Resources/description.rtfd/TXT.rtf @@ -0,0 +1,5 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +}+ \ No newline at end of file diff --git a/scripts/macos-new-space.app/Contents/Info.plist b/scripts/macos-new-space.app/Contents/Info.plist @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleAllowMixedLocalizations</key> + <true/> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>applet</string> + <key>CFBundleIconFile</key> + <string>applet</string> + <key>CFBundleIdentifier</key> + <string>com.apple.ScriptEditor.id.macos-new-space</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>macos-new-space</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>aplt</string> + <key>LSMinimumSystemVersionByArchitecture</key> + <dict> + <key>x86_64</key> + <string>10.6</string> + </dict> + <key>LSRequiresCarbon</key> + <true/> + <key>NSAppleEventsUsageDescription</key> + <string>This script needs to control other applications to run.</string> + <key>NSAppleMusicUsageDescription</key> + <string>This script needs access to your music to run.</string> + <key>NSCalendarsUsageDescription</key> + <string>This script needs access to your calendars to run.</string> + <key>NSCameraUsageDescription</key> + <string>This script needs access to your camera to run.</string> + <key>NSContactsUsageDescription</key> + <string>This script needs access to your contacts to run.</string> + <key>NSHomeKitUsageDescription</key> + <string>This script needs access to your HomeKit Home to run.</string> + <key>NSMicrophoneUsageDescription</key> + <string>This script needs access to your microphone to run.</string> + <key>NSPhotoLibraryUsageDescription</key> + <string>This script needs access to your photos to run.</string> + <key>NSRemindersUsageDescription</key> + <string>This script needs access to your reminders to run.</string> + <key>NSSiriUsageDescription</key> + <string>This script needs access to Siri to run.</string> + <key>NSSystemAdministrationUsageDescription</key> + <string>This script needs access to administer this system to run.</string> + <key>WindowState</key> + <dict> + <key>bundleDividerCollapsed</key> + <true/> + <key>bundlePositionOfDivider</key> + <real>0.0</real> + <key>dividerCollapsed</key> + <false/> + <key>eventLogLevel</key> + <integer>2</integer> + <key>name</key> + <string>ScriptWindowState</string> + <key>positionOfDivider</key> + <real>588</real> + <key>savedFrame</key> + <string>14 47 1412 839 0 0 1440 900 </string> + <key>selectedTab</key> + <string>result</string> + </dict> +</dict> +</plist> diff --git a/scripts/macos-new-space.app/Contents/MacOS/applet b/scripts/macos-new-space.app/Contents/MacOS/applet Binary files differ. diff --git a/scripts/macos-new-space.app/Contents/PkgInfo b/scripts/macos-new-space.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPLaplt+ \ No newline at end of file diff --git a/scripts/macos-new-space.app/Contents/Resources/Scripts/main.scpt b/scripts/macos-new-space.app/Contents/Resources/Scripts/main.scpt Binary files differ. diff --git a/scripts/macos-new-space.app/Contents/Resources/applet.icns b/scripts/macos-new-space.app/Contents/Resources/applet.icns Binary files differ. diff --git a/scripts/macos-new-space.app/Contents/Resources/applet.rsrc b/scripts/macos-new-space.app/Contents/Resources/applet.rsrc Binary files differ. diff --git a/scripts/macos-new-space.app/Contents/Resources/description.rtfd/TXT.rtf b/scripts/macos-new-space.app/Contents/Resources/description.rtfd/TXT.rtf @@ -0,0 +1,5 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +}+ \ No newline at end of file