Giter VIP home page Giter VIP logo

i3-workspace-swap's Introduction

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

i3-workspace-swap's People

Contributors

einzigartigername avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.