Compare commits
3
Commits
a253f2b5bf
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55991c13cb
|
||
|
|
bf9d4c5089
|
||
|
|
9e36e56bbf
|
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/osascript
|
||||||
|
|
||||||
|
tell application "BetterTouchTool"
|
||||||
|
trigger_action "{ BTTPredefinedActionType: 122}" -- Toggle Notification Center (Open)
|
||||||
|
trigger_action "{ BTTPredefinedActionType: 289}" -- Clear notifications
|
||||||
|
end tell
|
||||||
|
|
||||||
|
delay 1
|
||||||
|
|
||||||
|
tell application "BetterTouchTool"
|
||||||
|
trigger_action "{ BTTPredefinedActionType: 122}" -- Toggle Notification Center (Close)
|
||||||
|
end tell
|
||||||
@@ -32,9 +32,11 @@ done
|
|||||||
|
|
||||||
if [[ "${POS_ARGS[0]}" == "on" ]]; then
|
if [[ "${POS_ARGS[0]}" == "on" ]]; then
|
||||||
italic "Turning Litra Glow on... "
|
italic "Turning Litra Glow on... "
|
||||||
|
osascript -e 'display notification "Turning Litra Glow on... " with title "Litra Glow"'
|
||||||
hidapitester --vidpid 046D/C900 --open --length 20 --send-output 0x11,0xff,0x04,0x1c,0x01 &>/dev/null
|
hidapitester --vidpid 046D/C900 --open --length 20 --send-output 0x11,0xff,0x04,0x1c,0x01 &>/dev/null
|
||||||
elif [[ "${POS_ARGS[0]}" == "off" ]]; then
|
elif [[ "${POS_ARGS[0]}" == "off" ]]; then
|
||||||
italic "Turning Litra Glow off... "
|
italic "Turning Litra Glow off... "
|
||||||
|
osascript -e 'display notification "Turning Litra Glow off... " with title "Litra Glow"'
|
||||||
hidapitester --vidpid 046D/C900 --open --length 20 --send-output 0x11,0xff,0x04,0x1c &>/dev/null
|
hidapitester --vidpid 046D/C900 --open --length 20 --send-output 0x11,0xff,0x04,0x1c &>/dev/null
|
||||||
else
|
else
|
||||||
print_usage
|
print_usage
|
||||||
|
|||||||
Executable
+21
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/osascript
|
||||||
|
|
||||||
|
on getMicrophoneVolume()
|
||||||
|
input volume of (get volume settings)
|
||||||
|
end getMicrophoneVolume
|
||||||
|
on disableMicrophone()
|
||||||
|
set volume input volume 0
|
||||||
|
log "Microphone turned off 🔴"
|
||||||
|
display notification "Microphone turned off 🔴" with title "🎙️ Microphone"
|
||||||
|
end disableMicrophone
|
||||||
|
on enableMicrophone()
|
||||||
|
set volume input volume 100
|
||||||
|
log "Microphone turned on 🟢"
|
||||||
|
display notification "Microphone turned on 🟢" with title "🎙️ Microphone"
|
||||||
|
end enableMicrophone
|
||||||
|
|
||||||
|
if getMicrophoneVolume() is greater than 0 then
|
||||||
|
disableMicrophone()
|
||||||
|
else
|
||||||
|
enableMicrophone()
|
||||||
|
end if
|
||||||
+6
-6
@@ -31,7 +31,7 @@ BREW_TOOLS=(
|
|||||||
git argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s
|
git argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s
|
||||||
dive doggo duf dust eza fd fzf git-delta go helm htop jq kind krew curl
|
dive doggo duf dust eza fd fzf git-delta go helm htop jq kind krew curl
|
||||||
kubectl kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
kubectl kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
||||||
tektoncd/tools/tektoncd-cli tldr tailscale yq tabby vale jless macchina tz viddy
|
tektoncd/tools/tektoncd-cli tldr tailscale yq tabby vale jless macchina tz
|
||||||
homeassistant-cli act dnsmasq gh kubebuilder golangci-lint gnu-sed s3cmd
|
homeassistant-cli act dnsmasq gh kubebuilder golangci-lint gnu-sed s3cmd
|
||||||
pulumi/tap/pulumi kubeseal fluxcd/tap/flux ical-buddy baobab
|
pulumi/tap/pulumi kubeseal fluxcd/tap/flux ical-buddy baobab
|
||||||
watch crane openssh siderolabs/talos/talosctl civo/tools/civo raspberry-pi-imager
|
watch crane openssh siderolabs/talos/talosctl civo/tools/civo raspberry-pi-imager
|
||||||
@@ -42,11 +42,11 @@ BREW_TOOLS=(
|
|||||||
# 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 font-open-dyslexic-nerd-font
|
pinentry-mac gpg gawk coreutils wget stats font-open-dyslexic-nerd-font
|
||||||
dimentium/autoraise/autoraiseapp the-unarchiver rar mas capcut
|
dimentium/autoraise/autoraiseapp the-unarchiver rar mas
|
||||||
mqtt-explorer raycast bettertouchtool calibre kdenlive royal-tsx tableplus
|
mqtt-explorer bettertouchtool calibre kdenlive royal-tsx tableplus
|
||||||
homebrew/cask/todoist ultimaker-cura webtorrent pika pearcleaner spotmenu
|
homebrew/cask/todoist ultimaker-cura webtorrent pika pearcleaner
|
||||||
jordanbaird-ice utm TheBoredTeam/boring-notch/boring-notch
|
utm TheBoredTeam/boring-notch/boring-notch container orchard fif7y/tap/pelmet
|
||||||
container orchard
|
abue-ammar/tinycast/tinycast
|
||||||
)
|
)
|
||||||
CARGO_TOOLS=( bottom )
|
CARGO_TOOLS=( bottom )
|
||||||
NODE_TOOLS=( git-split-diffs )
|
NODE_TOOLS=( git-split-diffs )
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: 7
|
version: 8
|
||||||
profiles: []
|
profiles: []
|
||||||
hotkeys:
|
hotkeys:
|
||||||
copy-current-path: []
|
copy-current-path: []
|
||||||
@@ -163,6 +163,29 @@ hotkeys:
|
|||||||
disconnect-tab: []
|
disconnect-tab: []
|
||||||
command-selector:
|
command-selector:
|
||||||
- ⌘-Shift-P
|
- ⌘-Shift-P
|
||||||
|
debug-save-state:
|
||||||
|
- Ctrl-Shift-Alt-1
|
||||||
|
debug-load-state:
|
||||||
|
- Ctrl-Shift-Alt-2
|
||||||
|
debug-copy-state:
|
||||||
|
- Ctrl-Shift-Alt-3
|
||||||
|
debug-paste-state:
|
||||||
|
- Ctrl-Shift-Alt-4
|
||||||
|
debug-save-output:
|
||||||
|
- Ctrl-Shift-Alt-5
|
||||||
|
debug-load-output:
|
||||||
|
- Ctrl-Shift-Alt-6
|
||||||
|
debug-copy-output:
|
||||||
|
- Ctrl-Shift-Alt-7
|
||||||
|
debug-paste-output:
|
||||||
|
- Ctrl-Shift-Alt-8
|
||||||
|
scroll-page-up:
|
||||||
|
- ⌥-PageUp
|
||||||
|
scroll-page-down:
|
||||||
|
- ⌥-PageDown
|
||||||
|
open-sftp: []
|
||||||
|
group-selectors: {}
|
||||||
|
pin-tab: []
|
||||||
terminal:
|
terminal:
|
||||||
searchOptions: {}
|
searchOptions: {}
|
||||||
colorScheme:
|
colorScheme:
|
||||||
@@ -194,6 +217,7 @@ terminal:
|
|||||||
customColorSchemes: []
|
customColorSchemes: []
|
||||||
background: colorScheme
|
background: colorScheme
|
||||||
autoOpen: true
|
autoOpen: true
|
||||||
|
profile: local:binzsh
|
||||||
ssh: {}
|
ssh: {}
|
||||||
configSync:
|
configSync:
|
||||||
parts: {}
|
parts: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user