Skip to content

einzigartigerName/i3-workspace-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i3-workspace-swap

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.

Dependencies

  • Python 3.x
  • Python i3ipc

Optional Dependecie

  • dmenu: used for interactive mode

Install

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

Usage

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 destination
  • dest: destination only
  • src: source only

About

swap the content of two workspaces in i3wm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages