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

A better way for wmctrl to search and track Qubes windows ID's #3

Open
Aekez opened this issue Mar 8, 2018 · 0 comments
Open

A better way for wmctrl to search and track Qubes windows ID's #3

Aekez opened this issue Mar 8, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@Aekez
Copy link
Owner

Aekez commented Mar 8, 2018

Here is an example

#!/bin/sh
wid=$(xdotool search --name 'Mozilla Firefox')
wmctrl -i -r $wid -b toggle,fullscreen

The goal is to make this script as easy as possible for users to use, with as little overhead/complexity as it allows for in the scripts language. However requiring the user to manually adjust the search mechanism in the script is not meeting that goal, it adds complexity for the user. Furthermore, it's prone to fail as the title changes, multiple windows open with the same title, and so forth.

A better approach is sought to fix this issue.

@Aekez Aekez added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Mar 8, 2018
@Aekez Aekez added this to the QubesTV - 1.0 milestone Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant