11 lines
278 B
Bash
Executable File
11 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
# Check if no parameter is provided
|
|
if [ $# -eq 0 ]; then
|
|
echo "Error: No parameter provided. Please provide a session."
|
|
exit 1
|
|
fi
|
|
|
|
# Echo the provided session parameter
|
|
echo "Session: $1"
|
|
flatpak run org.wezfurlong.wezterm start ~/linux-setup/tmux-sessions/$1.sh
|