Git Product home page Git Product logo

i3empty's Introduction

i3empty

Quickly switch to a new numbered workspace.

i3 config

Place these lines in your i3 config for wrap-around switching:

# Move to a new empty workspace
bindsym $mod+Ctrl+Left exec --no-startup-id i3empty.py prev
bindsym $mod+Ctrl+Right exec --no-startup-id i3empty.py next

# Move a window to a new empty workspace
bindsym $mod+Shift+Ctrl+Left exec --no-startup-id i3empty.py --move prev
bindsym $mod+Shift+Ctrl+Right exec --no-startup-id i3empty.py --move next

# Move to empty workspace near a given workspace
bindsym $mod+Mod1+1 exec --no-startup-id i3empty.py next 1
bindsym $mod+Mod1+2 exec --no-startup-id i3empty.py next 2
bindsym $mod+Mod1+3 exec --no-startup-id i3empty.py next 3
bindsym $mod+Mod1+4 exec --no-startup-id i3empty.py next 4
bindsym $mod+Mod1+5 exec --no-startup-id i3empty.py next 5
bindsym $mod+Mod1+6 exec --no-startup-id i3empty.py next 6
bindsym $mod+Mod1+7 exec --no-startup-id i3empty.py next 7
bindsym $mod+Mod1+8 exec --no-startup-id i3empty.py next 8
bindsym $mod+Mod1+9 exec --no-startup-id i3empty.py next 9
bindsym $mod+Mod1+0 exec --no-startup-id i3empty.py next 10 

Usage

Run i3empty.py next or i3empty.py prev.

usage: i3empty.py [-h] [-r] [-w] [-s] [-m] [direction] [number]

Switch to an empty numbered workspace.

positional arguments:
  direction       either next (default) or prev
  number          workspace to start searching from (default: current)

optional arguments:
  -h, --help      show this help message and exit
  -r, --relative  use workspace indices, not numbers (default: no)
  -w, --nowrap    if at edge, wrap around to other edge (default: yes)
  -s, --nostrict  numbered workspaces have a numeric name (default: yes)
  -m, --move      move container to new workspace (default: no)

i3empty's People

Contributors

roguh avatar mojken avatar

Stargazers

Dovie Weinstock avatar Marten Lienen avatar Danny Navarro avatar Pedro Victori avatar John Young avatar Keith Hughitt avatar Shaun M Reed avatar Christian Kugler avatar Maxime Bailleul avatar  avatar Sam Zorn avatar Philipp Hemmelmayr avatar

Watchers

James Cloos avatar  avatar

Forkers

mojken

i3empty's Issues

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.