15 lines
204 B
Bash
Executable File
15 lines
204 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
|
|
MATCH=$(pgrep --full 'termite --title=work-term')
|
|
|
|
if ! $MATCH; then
|
|
pkill --full 'termite --title=work-term'
|
|
|
|
else
|
|
termite --title=work-term --class=work-term &
|
|
|
|
fi
|
|
|
|
exit 0
|