17 lines
378 B
Bash
Executable file
17 lines
378 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Get the absolute path to the terminator-config file
|
|
CONFIG_PATH="$(pwd)/terminator-config"
|
|
echo "Using config file: $CONFIG_PATH"
|
|
|
|
# Launch Terminator in its own D-Bus session
|
|
dbus-run-session -- terminator \
|
|
--config "$CONFIG_PATH" \
|
|
--layout dev &
|
|
|
|
# Wait a moment before disowning
|
|
sleep 1
|
|
|
|
# Remove it from your shell's job table
|
|
disown
|