Add comprehensive documentation for Lenovo ThinkPad Gentoo Linux setup including: - Complete system configuration guides (power, Bluetooth, WiFi, audio) - Hardware setup documentation (touchpad, touchscreen, DisplayLink) - Management scripts with ZSH completions - Kernel configuration (6.12.41-gentoo-x86_64) - Lid automation and monitor management - Battery conservation system - User guides and troubleshooting Repository includes .gitignore to exclude logs, temporary files, and secrets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
782 B
Plaintext
32 lines
782 B
Plaintext
#compdef monitor-setup
|
|
|
|
# ZSH completion for monitor-setup
|
|
# Place this file in /usr/local/share/zsh/site-functions/_monitor-setup
|
|
|
|
_monitor-setup() {
|
|
local curcontext="$curcontext" state line
|
|
typeset -A opt_args
|
|
|
|
_arguments -C \
|
|
'1: :->command' \
|
|
&& return 0
|
|
|
|
case $state in
|
|
command)
|
|
local -a commands
|
|
commands=(
|
|
'status:Show current monitor status'
|
|
'list:List all detected monitors'
|
|
'swap:Swap left/right external monitors'
|
|
'reset:Reset to automatic configuration'
|
|
'help:Show help information'
|
|
)
|
|
_describe -t commands 'monitor-setup command' commands
|
|
;;
|
|
esac
|
|
|
|
return 0
|
|
}
|
|
|
|
_monitor-setup "$@"
|