Clean up configs, remove bashrc conflicting with bash
This commit is contained in:
14
home/bin/toggle-termite
Executable file
14
home/bin/toggle-termite
Executable file
@ -0,0 +1,14 @@
|
||||
#!/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