Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

I need to activate the open window. #3

Closed
iyagicom opened this issue Jul 1, 2018 · 2 comments
Closed

I need to activate the open window. #3

iyagicom opened this issue Jul 1, 2018 · 2 comments

Comments

@iyagicom
Copy link

iyagicom commented Jul 1, 2018

For example,
If chromium-browser is enabled, Customcorner should make the active window visible.
If chromium-browser is disabled, Customcorner should open a new one.

These features are essential.
Please make it.

@janxyz
Copy link
Owner

janxyz commented Jul 1, 2018

This is possible with a command and wmctrl:

sh -c 'wmctrl -xa chromium || chromium'

You might need to change the last chromium to chromium-browser depending on your distribution.

@iyagicom
Copy link
Author

iyagicom commented Jul 3, 2018

I installed wmctrl and it worked very well.
Thank you for the tears.

@janxyz janxyz closed this as completed Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants