Update and clean up user scripts
This commit is contained in:
@ -1,14 +1,8 @@
|
||||
#!/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
|
||||
|
Reference in New Issue
Block a user