13 lines
338 B
Bash
Executable File
13 lines
338 B
Bash
Executable File
#!/bin/bash
|
|
# Simple wrapper script for changing channels
|
|
# Usage: ./channel [channel_number] or ./channel (for random)
|
|
|
|
# Default to random if no argument provided
|
|
if [ $# -eq 0 ]; then
|
|
echo "Changing to random channel..."
|
|
python3 change_channel.py
|
|
else
|
|
echo "Changing to channel $1..."
|
|
python3 change_channel.py "$1"
|
|
fi
|