dotfiles/.config/sketchybar/plugins/recording_click.sh
2026-06-03 14:36:50 -04:00

10 lines
No EOL
325 B
Shell
Executable file

#!/bin/bash
# Stop screen recording when clicked
# This simulates the macOS menu bar behavior
# Try to stop screen recording via keyboard shortcut
osascript -e 'tell application "System Events" to key code 28 using {shift down, command down}'
# Or try to quit QuickTime Player if it's recording
pkill -f "QuickTime Player"