Files
linux-setup/sesh
2024-03-23 09:45:19 -07:00

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