mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
9 lines
163 B
Bash
Executable file
9 lines
163 B
Bash
Executable file
#!/bin/bash
|
|
|
|
index="$1"
|
|
|
|
if [[ -z "$index" || ! "$index" =~ ^[0-9]+$ ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
python3 "$HOME/.config/tmux/scripts/session_manager.py" switch "$index"
|