Added some more Mac-specific apps / installs
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
22
install.sh
22
install.sh
@@ -36,17 +36,24 @@ BREW_TOOLS=(
|
|||||||
pulumi/tap/pulumi kubeseal podman podman-desktop fluxcd/tap/flux ical-buddy
|
pulumi/tap/pulumi kubeseal podman podman-desktop fluxcd/tap/flux ical-buddy
|
||||||
watch crane openssh siderolabs/talos/talosctl civo/tools/civo raspberry-pi-imager
|
watch crane openssh siderolabs/talos/talosctl civo/tools/civo raspberry-pi-imager
|
||||||
gron ssup2/tap/kpexec opentofu visual-studio-code 1password-cli scw smartmontools
|
gron ssup2/tap/kpexec opentofu visual-studio-code 1password-cli scw smartmontools
|
||||||
firefox signal slack ffmpeg openscad tsh colima docker docker-buildx
|
firefox signal slack ffmpeg openscad tsh colima docker docker-buildx nordvpn
|
||||||
)
|
)
|
||||||
# Brew tools only available / needed on Mac
|
# Brew tools only available / needed on Mac
|
||||||
MAC_BREW_TOOLS=(
|
MAC_BREW_TOOLS=(
|
||||||
pinentry-mac gpg gawk coreutils wget stats homebrew/cask-fonts/font-open-dyslexic-nerd-font
|
pinentry-mac gpg gawk coreutils wget stats homebrew/cask-fonts/font-open-dyslexic-nerd-font
|
||||||
hiddenbar dimentium/autoraise/autoraiseapp appcleaner the-unarchiver finicky rar
|
hiddenbar dimentium/autoraise/autoraiseapp appcleaner the-unarchiver finicky rar mas capcut
|
||||||
|
mqtt-explorer raycast bettertouchtool calibre karabiner-elements kdenlive royal-tsx tableplus
|
||||||
|
homebrew/cask/todoist ultimaker-cura webtorrent
|
||||||
)
|
)
|
||||||
CARGO_TOOLS=( bottom )
|
CARGO_TOOLS=( bottom )
|
||||||
NODE_TOOLS=( git-split-diffs )
|
NODE_TOOLS=( git-split-diffs )
|
||||||
KREW_TOOLS=( gs outdated tree stern explore blame access-matrix cert-manager rbac-tool resource-capacity view-secret )
|
KREW_TOOLS=( gs outdated tree stern explore blame access-matrix cert-manager rbac-tool resource-capacity view-secret )
|
||||||
APT_TOOLS=( zsh gcc )
|
APT_TOOLS=( zsh gcc )
|
||||||
|
MAS_TOOLS=(
|
||||||
|
1263070803 # Lungo
|
||||||
|
1470584107 # Dato
|
||||||
|
1545870783 # System Color Picker
|
||||||
|
)
|
||||||
|
|
||||||
echo "🔵 Installing / updating tools"
|
echo "🔵 Installing / updating tools"
|
||||||
|
|
||||||
@@ -123,6 +130,17 @@ case "${OSTYPE}" in
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Mac App Store
|
||||||
|
for tool in "${MAS_TOOLS[@]}"
|
||||||
|
do
|
||||||
|
printf "MAS ID: ${tool}..."
|
||||||
|
mas install ${tool} &>/dev/null
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
printf " ✅\n"
|
||||||
|
else
|
||||||
|
printf " ❌\n"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
FILES=$(/usr/bin/find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ')
|
FILES=$(/usr/bin/find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ')
|
||||||
for file in $FILES
|
for file in $FILES
|
||||||
|
12
os-specific/darwin/home/RaycastScripts/brand.sh
Executable file
12
os-specific/darwin/home/RaycastScripts/brand.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Brand
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
open 'smb://nas._smb._tcp.local/Nextcloud/Pictures/Brand'
|
||||||
|
|
16
os-specific/darwin/home/RaycastScripts/litra-glow-off.sh
Executable file
16
os-specific/darwin/home/RaycastScripts/litra-glow-off.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Litra Glow Off
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon ⚫️
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.description Turn off Litra Glow light
|
||||||
|
|
||||||
|
cd ~/.bin/
|
||||||
|
./litractl off
|
||||||
|
|
15
os-specific/darwin/home/RaycastScripts/litra-glow-on.sh
Executable file
15
os-specific/darwin/home/RaycastScripts/litra-glow-on.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Litra Glow On
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 💡
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.description Turn on Litra Glow light
|
||||||
|
|
||||||
|
cd ~/.bin/
|
||||||
|
./litractl on
|
12
os-specific/darwin/home/RaycastScripts/nextcloud.sh
Executable file
12
os-specific/darwin/home/RaycastScripts/nextcloud.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Nextcloud
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
open 'smb://nas._smb._tcp.local/Nextcloud'
|
||||||
|
|
11
os-specific/darwin/home/RaycastScripts/reaction-gifs.sh
Executable file
11
os-specific/darwin/home/RaycastScripts/reaction-gifs.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Reaction Gifs
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
open 'smb://nas._smb._tcp.local/Nextcloud/Pictures/ReactionGifs'
|
15
os-specific/darwin/home/RaycastScripts/restart-busycal.sh
Executable file
15
os-specific/darwin/home/RaycastScripts/restart-busycal.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Restart BusyCal Menu
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.description Kills the BusyCal process
|
||||||
|
|
||||||
|
pkill busycal-setapp.alarm
|
||||||
|
open /Applications/Setapp/BusyCal.app
|
14
os-specific/darwin/home/RaycastScripts/restart-logi-daemon.sh
Executable file
14
os-specific/darwin/home/RaycastScripts/restart-logi-daemon.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Restart Logi daemon
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.description Kills the LogiMgr process to allow a new one to spawn
|
||||||
|
|
||||||
|
pkill LogiMgr
|
12
os-specific/darwin/home/RaycastScripts/things.sh
Executable file
12
os-specific/darwin/home/RaycastScripts/things.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Things
|
||||||
|
# @raycast.mode silent
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
open 'smb://nas._smb._tcp.local/Things'
|
||||||
|
|
34
os-specific/darwin/home/RaycastScripts/toggle-mic.applescript
Executable file
34
os-specific/darwin/home/RaycastScripts/toggle-mic.applescript
Executable file
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/osascript
|
||||||
|
|
||||||
|
# Required parameters:
|
||||||
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Toggle Microphone
|
||||||
|
# @raycast.mode silent
|
||||||
|
# @raycast.packageName System
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🎙
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.author Matthew Morek
|
||||||
|
# @raycast.authorURL https://github.com/matthewmorek
|
||||||
|
# @raycast.description Toggles microphone.
|
||||||
|
|
||||||
|
|
||||||
|
on getMicrophoneVolume()
|
||||||
|
input volume of (get volume settings)
|
||||||
|
end getMicrophoneVolume
|
||||||
|
on disableMicrophone()
|
||||||
|
set volume input volume 0
|
||||||
|
log "Microphone turned off 🔴"
|
||||||
|
end disableMicrophone
|
||||||
|
on enableMicrophone()
|
||||||
|
set volume input volume 100
|
||||||
|
log "Microphone turned on 🟢"
|
||||||
|
end enableMicrophone
|
||||||
|
|
||||||
|
if getMicrophoneVolume() is greater than 0 then
|
||||||
|
disableMicrophone()
|
||||||
|
else
|
||||||
|
enableMicrophone()
|
||||||
|
end if
|
Reference in New Issue
Block a user