Run-or-raise-application-launcher for i3 window manager.
Project description
# raiseorlaunch
Run-or-raise-application-launcher for i3 window manager.
If a specified application is already running, it will just focus the window.
If not, it will run the application.
It's also possible to specify a workspace. That way only this workspace will
be used to raise and launch.
workspace_auto_back_and_forth - if enabled - remains functional.
It's also possible to use the scratchpad.
You can specify a window class, instance and/or title.
raiseorlaunch is intended to be used with i3-shortcuts.
It depends on [i3-py](https://github.com/ziberna/i3-py)
## Usage and options
```
usage: raiseorlaunch [-h] [-i] [-w WORKSPACE] [-r] [-e COMMAND] [-c WM_CLASS]
[-s WM_INSTANCE] [-t WM_TITLE] [--version]
Run-or-raise-application-launcher for i3 window manager.
optional arguments:
-h, --help show this help message and exit
-i, --ignore-case ignore case.
-w WORKSPACE, --workspace WORKSPACE
workspace to use.
-r, --scratch use scratchpad
-e COMMAND, --exec COMMAND
command to execute. If omitted, -c, -s or -t will be
used (lower-case). Careful: The command will not be
checked prior to execution!
-c WM_CLASS, --class WM_CLASS
the window class.
-s WM_INSTANCE, --instance WM_INSTANCE
the window instance.
-t WM_TITLE, --title WM_TITLE
the window title.
--version show program's version number and exit
```
## Examples
```
raiseorlaunch -c Firefox -s Navigator
```
Run or raise Firefox.
```
raiseorlaunch -w SL -c Sublime_text -s sublime_text -e subl
```
This uses the workspace SL for sublime text.
```
raiseorlaunch -r -c SpeedCrunch
```
Here we raise or launch SpeedCrunch and use the scratchpad.
Run-or-raise-application-launcher for i3 window manager.
If a specified application is already running, it will just focus the window.
If not, it will run the application.
It's also possible to specify a workspace. That way only this workspace will
be used to raise and launch.
workspace_auto_back_and_forth - if enabled - remains functional.
It's also possible to use the scratchpad.
You can specify a window class, instance and/or title.
raiseorlaunch is intended to be used with i3-shortcuts.
It depends on [i3-py](https://github.com/ziberna/i3-py)
## Usage and options
```
usage: raiseorlaunch [-h] [-i] [-w WORKSPACE] [-r] [-e COMMAND] [-c WM_CLASS]
[-s WM_INSTANCE] [-t WM_TITLE] [--version]
Run-or-raise-application-launcher for i3 window manager.
optional arguments:
-h, --help show this help message and exit
-i, --ignore-case ignore case.
-w WORKSPACE, --workspace WORKSPACE
workspace to use.
-r, --scratch use scratchpad
-e COMMAND, --exec COMMAND
command to execute. If omitted, -c, -s or -t will be
used (lower-case). Careful: The command will not be
checked prior to execution!
-c WM_CLASS, --class WM_CLASS
the window class.
-s WM_INSTANCE, --instance WM_INSTANCE
the window instance.
-t WM_TITLE, --title WM_TITLE
the window title.
--version show program's version number and exit
```
## Examples
```
raiseorlaunch -c Firefox -s Navigator
```
Run or raise Firefox.
```
raiseorlaunch -w SL -c Sublime_text -s sublime_text -e subl
```
This uses the workspace SL for sublime text.
```
raiseorlaunch -r -c SpeedCrunch
```
Here we raise or launch SpeedCrunch and use the scratchpad.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for raiseorlaunch-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d738e266c1f8d8e7229c483fe138ef7132e873258c06a115a13cd305e75a62a0 |
|
MD5 | 3e26e46bed6191a47191c51cf3b39eb1 |
|
BLAKE2b-256 | dcdded7ab71ddcd0d7bf01e0c11a671131ea3477c55c137b8d1ff05eb33dace7 |