ssokolow / quicktile

Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)
https://ssokolow.com/quicktile/
GNU General Public License v2.0
878 stars 79 forks source link

cycle_dimensions sequences shouldn't be hard-coded #13

Open ssokolow opened 13 years ago

ssokolow commented 13 years ago

Currently, all aspects of mapping between key combinations and commands with --daemonize are configurable, but the definition of what those commands do is still hard-coded.

Given that most commands are essentially macros, cycling windows through sequences of position-dimension presets and that I've seen real-world examples of people editing quicktile.py simply to alter the POSITIONS map, this needs to change.

However, it won't be as simple as the existing config keys for the following reasons:

My current avenue of interest is exploring how much I'd have to compromise the expressiveness of the current system and what syntax I could easily parse to comfortably store a sequence of positions in a reasonably intuitive, human-editable string that will still be easy to both parse and generate when it comes time to create a configuration GUI.

ssokolow commented 11 years ago

Now that all my target platforms have at least Python 2.6, this will probably be the next thing I work on since it would remove the need for the vast majority of the forks up on GitHub.