#i3 #workspace #switching #switcher #behavior #windows

app i3switcher

provides nicer behavior for workspace switching in i3

4 releases (2 breaking)

Uses old Rust 2015

0.3.1 Aug 29, 2018
0.3.0 Aug 28, 2018
0.2.0 Sep 23, 2017
0.1.0 Sep 18, 2017

#11 in #switcher

Custom license

7KB
97 lines

About

Provides a simple utility for switching workspaces in i3. Inspired somewhat by GNOME 3's workspace switcher. i3switcher is written in Rust

Normally, i3 will not create new workspaces when switching to the prev/next workspaces. Further, workspaces without windows are automatically closed. This forces users to use a short cut like Win+n to switch to workspace n if it does not have a window on it.

This tool switches simply by counting off workspaces. For example, if you currently have these workspaces active (ie, have windows on them):

+-+-+-+
|1|2|3|
+-+-+-+

and you are on workspace 3, then calling i3switcher next will move you to workspace 4, leaving you with these workspaces

+-+-+-+-+
|1|2|3|4|
+-+-+-+-+

calling i3switcher next again will move you to workspace 5, but leave you with

+-+-+-+-+
|1|2|3|5| # Notice that i3 removes 4 just like normal
+-+-+-+-+

Install

The easiest way to install i3switcher is using cargo.

  1. Follow the instructions on crates.io to install cargo
  2. Once you have cargo installed, you can install i3switcher simply with $ cargo install i3switcher
  3. If cargo was successfully install, you should now have i3switcher in your path.

Dependencies

~2.2–3MB
~51K SLoC