A utility for the i3 tiling window manager, which allows to swap the content of two workspaces. If both, the destination and the source workspace have content on them, the content will be swapped. If only a destination workspace is provided, the workspace will be created with the given name.
- Python 3.x
- Python i3ipc
- dmenu: used for interactive mode
using pip:
pip install i3-workspace-swap
or manually with
git clone https://github.com/einzigartigerName/i3-workspace-swap.git
cd i3-workspace-swap
python setup.py install
If all dependencies are satisfied, you could just run the script without installing
i3-workspace-swap [OPTION..]
Arguments:
-d NAME
or--destination NAME
: destination workspace by name to move content to.-f
or--focus
: focus destination workspace after swap-h
or--help
: print help message-i OPTION
or--interactive OPTION
: uses dmenu to select dest/src; command line arguments will be overwriten-s NAME
or--source NAME
: source workspace by name to move the content from, if none given the currently focused workspace will be used
Options for interacive mode:
all
: source and destinationdest
: destination onlysrc
: source only