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

Fix the alt+tab widget #5

Open
Elv13 opened this issue Apr 26, 2014 · 10 comments
Open

Fix the alt+tab widget #5

Elv13 opened this issue Apr 26, 2014 · 10 comments

Comments

@Elv13
Copy link
Owner

Elv13 commented Apr 26, 2014

The selected tag is wrong

@rosshadden
Copy link

This is probably what you're referring to, but just in case it's not:

alttab.altTab() gives me this empty list no matter where or when I run it.

I also get this error when using alttab.altTab({ auto_release = true }).

@Elv13
Copy link
Owner Author

Elv13 commented Aug 7, 2014

Hello, what is your Awesome version, are you using the lastest awesome-configs? And yes, this is not related to this bug, I should have been more explicit. As of a0e04ed , the last+tab works for me. The latest commit might not be the most stable one ever.

The original bug was intended to remind me that if a client is on multiple tags at once, then alt+tab might go "back" to the wrong tag. This is hard to fix given how Awesome store this.

@rosshadden
Copy link

I'm using awesome v3.5.5. I'm not using any part of your awesome-configs repo except the aforementioned lines (and the require of the alt-tab module of course), which is possibly the problem.

@Elv13
Copy link
Owner Author

Elv13 commented Aug 8, 2014

Yea, I havn't tried in a while. I added a tight coupling with the taglist, tasklist and alt+tab module that probably broke the alt+tab module

@Elv13
Copy link
Owner Author

Elv13 commented Aug 8, 2014

That bug would belong to Radical, you need to add the whole radical module to have at least a chance of making it work, but that probably wont be enough anymore

@rosshadden
Copy link

Yeah unfortunately I'm requiring both radical and radical.impl.alttab. If I find time I will include more things and see if I can narrow it down, and then if necessary I'll make a new issue. Thanks!

@Elv13
Copy link
Owner Author

Elv13 commented Aug 8, 2014

The easy way is to install Xephyr and open it

Xephir :1 -screen 800x800

and

DISPLAY=:1 awesome

Open some apps and trigger the alt tab, some errors should show up. Also, are you sure you did add the keybindings to your rc.lua?

@Elv13
Copy link
Owner Author

Elv13 commented Aug 10, 2014

Ok fixed
Elv13/radical@9a78433

@rosshadden
Copy link

That was it, thank you! Now that it works I can see this is such a beautiful widget. Much better than one I threw together using growl notifications.

@Elv13
Copy link
Owner Author

Elv13 commented Aug 10, 2014

It is quite powerful too, in the non-auto-release mode, you can use shift to add a client to the tab and control to move it to the current tag. It will also highlight the client border to be able to better see the current position.

If you also use the taglist and tasklist modules, then it will integrate with them by highlighting the tags used by the selected alt+tab item to cause less tag switching confusion. The visual style of the tag/tasklist widget is configurable. There is currently 6 styles available, "basic" look like the current AwesomeWM default look.

Used with Tyrannical, some more features get activated.

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

No branches or pull requests

2 participants