https://github.com/akaihola/musomisia
Keyboard-centric tools for Linux desktop users
https://github.com/akaihola/musomisia
Last synced: 17 days ago
JSON representation
Keyboard-centric tools for Linux desktop users
- Host: GitHub
- URL: https://github.com/akaihola/musomisia
- Owner: akaihola
- Created: 2011-01-16T11:25:49.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-03T06:15:12.000Z (over 13 years ago)
- Last Synced: 2025-04-02T06:39:50.584Z (24 days ago)
- Language: Python
- Homepage:
- Size: 183 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=============================================================
Musomisia -- keyboard-centric tools for Linux desktop users
=============================================================------
mcgr
------Mcgr [1]_ provides hot-key access for
* launching applications
* focusing running applications
* window layout management.
.. [1] originally abbreviated for "MetaCity Go to or Run", now works with other
window managers as wellOnce run, the ``mcgr`` script accepts the followig commands through the
``/tmp/mcgr.fifo`` FIFO:goto-or-run
===========Syntax::
goto-or-run
If a window with a matching ``WM_CLASS`` is found, it receives the focus. If
the window is not on the current workspace, the correct workspace is activated
first. If a matching window already has focus, the next window with the same
``WM_CLASS`` is focused instead. Multiple successive calls with the same
``WM_CLASS`` loop over all matching windows.If no window with a matching ``WM_CLASS`` is found, the command line is run
instead.Example::
echo "goto-or-run Firefox firefox -P profilename" >>/tmp/mcgr.fifo
In GNOME key bindings use e.g.::
sh -c "[ -p /tmp/mcgr.fifo ] && echo Firefox firefox -P profilename >>/tmp/mcgr.fifo"