-
Notifications
You must be signed in to change notification settings - Fork 79
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
Support floating windows #92
Comments
Sorry for taking so long to respond. I was out on Monday and very distracted since then. Snapping windows to more specialized presets is definitely a useful thing, but I'm not sure how you'd want QuickTile to handle that. Some kind of custom GUI for defining presets? Some kind of "Remember position for this window" and "Restore position for this window" macro keys? |
I was thinking about something even more simple, in the config file define an hotkey where the value is coordinates. In my use case, I usually put vlc (or chrome with a video) window in small and always on top in a corner, but not competly snap to the edge so I can see controls of the underlying window. Remember the position for a window could be insteresting too, but I think much more complicated to implement, especially to identify the window (especially a specific window of chrome) and store that across reboot. |
Sorry for the delayed response. I've got some deadlines and I completely forgot that I hadn't already replied to you.
I actually want to move the current tiling presets into the config file when I can find time to get back to working on QuickTile. It's issue #13. Once that's done and I've properly generalized the config syntax, it'd just be a matter of declaring a new command which maps to a one-entry sequence of presets.
Storing it across reboots isn't difficult. Every application exposes a set of identifying strings specifically to allow window managers to hang presets off them. (Use The tricky part is reliably telling apart two windows which are identical except for the content within them without making it too brittle... I'd probably solve that by allowing multiple save/restore keys, each with their own settings stores, so the combination of the keybind and the window could determine a destination. (eg. Hotkey1+Firefox = Position 1. Hotkey2+Firefox = Position 2. Hotkey1+Vim = Position 3.) |
👍
I just played with xprop to see how windows could be identified. Matching on
Now the tricky part is that depending on the window, match elements will not be the same. |
Sorry for going silent. Things got... messy. I'm currently preparing to release the port to GTK 3 and, as part of that, I've been writing the automated tests I need to have confidence in the config file rework needed to fix issues like this and #13. :) (The main things still to be done before it can go to If you want to try it, it's at https://github.com/ssokolow/quicktile/tree/gtk3_port Just don't use the |
just tested the branch, one binding is not working with this version for me :
|
Looks like the change happened outside QuickTile:
(I used
EDIT: This copy of Note to Self: The guide in the updated docs could use a direct link to a reference for valid keysyms. |
Ok it's fully working for me. 0x3c -> less If you need help to test specific position keybindings when it will be done, feel free to ask 👍 |
Actually, the current EDIT: If you want to check out the new documentation which will become the site when it gets pushed to |
Thx I was looking for how to get the new doc. I usually work with an always on top video floating at some location but not snapped to the edges so I can see scrolling bars/status bars and sometime switch the video to full screen and then put back floating. |
Yeah. 0.4.0 is almost exclusively about bringing existing stuff in line with expectations for a modern project. (Dependencies, documentation, automated testing, etc.) The only feature of note that got merged in was a proper fix for #45 because Most of the work went into writing a solid foundation for writing future layout calculations in a maintainable way. (Basically, writing I don't plan on going silent again after 0.4.0 final is released, so new features shouldn't take too long to start arriving. (Though probably not at quite the rate I took up to get 0.4.0 out the door. I have other projects that also need some help. Heck, my second-most popular one is a userscript that is flat-out unusable due to changes in the sites it affects on.) |
Hi there, I'm using quicktile for about 3 years and it's very useful.
Most of windows needs to be tiled but I still have few windows that I want to place at a specific floating location (like VLC). I'm doing it by hand for so long that it could be the time to automate it.
I think it could a good improvement to support key binding to set window at specific location instead of tiling rotation.
What do you think ?
The text was updated successfully, but these errors were encountered: