{ "info": { "author": "Scott Silliman", "author_email": "scott.t.silliman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Other Audience", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Desktop Environment :: Window Managers", "Topic :: Desktop Environment :: Window Managers :: Fluxbox" ], "description": "ws-grid-pager\r\n=============\r\n\r\nA workspace pager supporting grid layout for EMWH-compliant X.org window managers\r\n\r\nMany minimalistic window managers don't natively support workspaces layed\r\nout as a grid. This software treats the workspaces as if they actually are.\r\n\r\nCurrently, this implementation requires that the environment variables:\r\n\r\n* WORKSPACE_ROWS\r\n* WORKSPACE_COLUMNS\r\n\r\nbe defined, although I plan to make this optional if the xprop property\r\n``_NET_DESKTOP_LAYOUT`` is properly set.\r\n\r\nAlthough this is designed for Fluxbox, it **should** work for any window manager which is at least minimally EMWH compliant.\r\n\r\nCurrently, I've only tested (manually) for my own 4x3 layout, on Xubuntu 14.04,\r\nwhich is why I have this software listed as 'Beta'.\r\n\r\n\r\nInstallation\r\n-------------\r\n\r\nThe only known dependencies are ``wmctrl`` and python's ``setuptools``. I *believe* that ``xprop`` will already be present on any X.org system, but if not, you'll need to install that as well.\r\n\r\n``sudo pip install ws-grid-pager``\r\n\r\nDepending on your system's configuration, you may be able to drop the ``sudo`` bit\r\n\r\nAlternative installation methods\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nIf you'd rather get the latest from git,\r\n\r\n``sudo pip install -e https://github.com/ckot/ws-grid-pager.git``\r\n\r\n\\- or \\-\r\n\r\nAlso, you can always download a .zip file from the github repo, and run\r\n\r\n``sudo python setup.py install``\r\n\r\nfrom the directory created once you unzip the file\r\n\r\n\r\nUsage\r\n-----\r\n\r\nThis package installs 4 command-line programs:\r\n\r\n* ws-grid-pager\r\n* gp-switch-workspace\r\n* gp-send-window\r\n* gp-take-window\r\n\r\nAll 4 programs require a ``-d|--direction left|right|up|down`` argument as well\r\nas an optional ``-w|--wrap`` argument if you'd prefer that left/right from the\r\nfirst/last column switches to the workspace/sends a window to the last/first\r\ncolumn respectively. The same goes for up/down with the last/first row\r\n\r\nThe ws-grid-pager program, being generic, also requires the argument:\r\n``-a|--action switch-workspace|send-window|take-window``\r\n\r\nA description of the cmd-line arguments will be listed if you run any of the\r\nprograms at the cmd-line either without any arguments or with ``-h|--help``\r\n\r\nSuggested Usage with Fluxbox\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n``~/.fluxbox/keys:``\r\n\r\n| # change to previous/next workspace\r\n| #Control Mod1 Left :PrevWorkspace\r\n| #Control Mod1 Right :NextWorkspace\r\n| Control Mod1 Left :Exec gp-switch-workspace -d left\r\n| Control Mod1 Right :Exec gp-switch-workspace -d right\r\n| Control Mod1 Up :Exec gp-switch-workspace -d up\r\n| Control Mod1 Down :Exec gp-switch-workspace -d down\r\n| Shift Control Mod1 Left :Exec gp-switch-workspace -d left -w\r\n| Shift Control Mod1 Right :Exec gp-switch-workspace -d right -w\r\n| Shift Control Mod1 Up :Exec gp-switch-workspace -d up -w\r\n| Shift Control Mod1 Down :Exec gp-switch-workspace -d down -w\r\n|\r\n| # send the current window to previous/next workspace\r\n| #Mod4 Left :SendToPrevWorkspace\r\n| #Mod4 Right :SendToNextWorkspace\r\n| Mod4 Left :Exec gp-send-window -d left\r\n| Mod4 Right :Exec gp-send-window -d right\r\n| Mod4 Up :Exec gp-send-window -d up\r\n| Mod4 Down :Exec gp-send-window -d down\r\n| Shift Mod4 Left :Exec gp-send-window -d left -w\r\n| Shift Mod4 Right :Exec gp-send-window -d right -w\r\n| Shift Mod4 Up :Exec gp-send-window -d up -w\r\n| Shift Mod4 Down :Exec gp-send-window -d down -w\r\n|\r\n| # send the current window and follow it to previous/next workspace\r\n| #Control Mod4 Left :TakeToPrevWorkspace\r\n| #Control Mod4 Right :TakeToNextWorkspace\r\n| Control Mod4 Left :Exec gp-take-window -d left\r\n| Control Mod4 Right :Exec gp-take-window -d right\r\n| Control Mod4 Up :Exec gp-take-window -d up\r\n| Control Mod4 Down :Exec gp-take-window -d down\r\n| Shift Control Mod4 Left :Exec gp-take-window -d left -w\r\n| Shift Control Mod4 Right :Exec gp-take-window -d right -w\r\n| Shift Control Mod4 Up :Exec gp-take-window -d up -w\r\n| Shift Control Mod4 Down :Exec gp-take-window -d down -w\r\n|\r\nAlthough you may or may not care to add the -w variants. I'm not sure if I\r\nwant wrapping myself, but have added support for folks who may.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ckot/ws-grid-pager/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ckot/ws-grid-pager", "keywords": "", "license": "GNU General Public License v2 (GPLv2)", "maintainer": "", "maintainer_email": "", "name": "ws-grid-pager", "package_url": "https://pypi.org/project/ws-grid-pager/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ws-grid-pager/", "project_urls": { "Download": "https://github.com/ckot/ws-grid-pager/archive/master.zip", "Homepage": "https://github.com/ckot/ws-grid-pager" }, "release_url": "https://pypi.org/project/ws-grid-pager/0.2/", "requires_dist": null, "requires_python": "", "summary": "A workspace grid pager for EMWH-compliant window-managers", "version": "0.2" }, "last_serial": 1919553, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "658b26ddd98395e236b2cde8a6a53dba", "sha256": "14632a761f7ce017592d467bf9fbfee08797bec656893b3c8d1c3737860f21cd" }, "downloads": -1, "filename": "ws-grid-pager-0.2.tar.gz", "has_sig": false, "md5_digest": "658b26ddd98395e236b2cde8a6a53dba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494, "upload_time": "2016-01-22T15:41:31", "url": "https://files.pythonhosted.org/packages/8a/a2/ab2b3f572274be886f5ee6b42d7e4b0ed2dcd538f4f5830a0ecd0d89f123/ws-grid-pager-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "658b26ddd98395e236b2cde8a6a53dba", "sha256": "14632a761f7ce017592d467bf9fbfee08797bec656893b3c8d1c3737860f21cd" }, "downloads": -1, "filename": "ws-grid-pager-0.2.tar.gz", "has_sig": false, "md5_digest": "658b26ddd98395e236b2cde8a6a53dba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494, "upload_time": "2016-01-22T15:41:31", "url": "https://files.pythonhosted.org/packages/8a/a2/ab2b3f572274be886f5ee6b42d7e4b0ed2dcd538f4f5830a0ecd0d89f123/ws-grid-pager-0.2.tar.gz" } ] }