Update users home folder, clean up some scripts and add comments
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if pgrep --full 'termite --title=work-term' >/dev/null; then
|
||||
# will check if precisely this termite instance is running
|
||||
# if it is, then kill it, otherwise launch a new termite with these settings
|
||||
# This allows a "Toggle-able" terminal, by simply binding a key to
|
||||
# "toggle-termite"
|
||||
|
||||
if pgrep --full 'termite --title=work-term' &>/dev/null; then
|
||||
pkill --full 'termite --title=work-term'
|
||||
else
|
||||
termite --title=work-term --class=work-term &
|
||||
|
Reference in New Issue
Block a user