Changes: - Added 80+ scripts with organized structure - payloads/ for third-party pentesting tools - pentesting/ for custom security scripts - Daily drivers remain flat for fast access - Converted wes() function to proper script - Removed .sh extensions from pentesting scripts - Cleaned up aliases (removed 31 redundant lines) - Added kanata/, build artifacts to gitignore - Removed old fre.sh scripts and empty a.out - Updated configs: helix, tmux, zsh, ulauncher, redshift Security: All sensitive data excluded via gitignore
13 lines
332 B
Bash
Executable file
13 lines
332 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Script Name: sleepybear
|
|
# Description: Put system to sleep
|
|
# Source: https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
|
|
# Usage: sleepybear
|
|
|
|
if [[ "$(uname)" == 'Darwin' ]]; then
|
|
exec /usr/bin/osascript -e 'tell application "System Events" to sleep'
|
|
else
|
|
systemctl suspend
|
|
fi
|