Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close terminal by name #1835

Open
FredMour opened this issue Mar 12, 2021 · 0 comments
Open

Close terminal by name #1835

FredMour opened this issue Mar 12, 2021 · 0 comments

Comments

@FredMour
Copy link

Hello,

Could you add some argument to guake to close a terminal by name

Currently I check all terminal names by using index to find the name, and close it.
It s too long

#!/bin/bash
#set -x
for i in {10..0}; do
#echo "$(guake -s $i -l)"
if [ "$(guake -s $i -l)" == "$1" ]; then
guake -s $i -e "exit; sleep 1; exit;" >/dev/null 2>&1 ;
fi
done

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants