All Projects → un-def → i3-workspace-switcher

un-def / i3-workspace-switcher

Licence: MIT license
MRU (Most recently used) workspace switcher for i3 window manager

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to i3-workspace-switcher

I3 Gaps Deb
Tool to create and install Debian (or Ubuntu) packages of i3-gaps.
Stars: ✭ 236 (+1080%)
Mutual labels:  i3, i3wm
i3-timer
⏰ A simple timer for the i3 window manager
Stars: ✭ 34 (+70%)
Mutual labels:  i3, i3wm
I3 Gnome Pomodoro
🍅 Integrate gnome-pomodoro into i3
Stars: ✭ 159 (+695%)
Mutual labels:  i3, i3wm
i3blocks-airpods
i3blocks script for managing airpods and airpods pro.
Stars: ✭ 61 (+205%)
Mutual labels:  i3, i3wm
i3altlayout
i3wm efficient screen real estate
Stars: ✭ 40 (+100%)
Mutual labels:  i3, i3wm
dotfiles
My main working machine setup. Here be cyber dragons, and optional bugs.
Stars: ✭ 35 (+75%)
Mutual labels:  i3, i3wm
Nwg Launchers
GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
Stars: ✭ 211 (+955%)
Mutual labels:  i3, i3wm
Wmfocus
Visually focus windows by label
Stars: ✭ 132 (+560%)
Mutual labels:  i3, i3wm
i3blocks-gate
Extra i3blocks Scripts For arch Ubuntu very simple and very useful -
Stars: ✭ 42 (+110%)
Mutual labels:  i3, i3wm
I3 Battery Popup
A script that shows warning messages to the user when the battery is almost empty. For i3wm users.
Stars: ✭ 190 (+850%)
Mutual labels:  i3, i3wm
Tmux Tilish
Plugin which makes tmux work and feel like i3wm
Stars: ✭ 149 (+645%)
Mutual labels:  i3, i3wm
I3wm Config
my i3wm config
Stars: ✭ 196 (+880%)
Mutual labels:  i3, i3wm
I3 Workspace Groups
Manage i3wm workspaces in groups you control
Stars: ✭ 139 (+595%)
Mutual labels:  i3, i3wm
Autotiling
Script for sway and i3 to automatically switch the horizontal / vertical window split orientation
Stars: ✭ 243 (+1115%)
Mutual labels:  i3, i3wm
Azote
Wallpaper and colour manager for Sway, i3 and some other WMs
Stars: ✭ 138 (+590%)
Mutual labels:  i3, i3wm
Dotfiles
My [NeoVim + Tmux + Fish Shell] Setup /w install scripts
Stars: ✭ 180 (+800%)
Mutual labels:  i3, i3wm
Sgtk Menu
GTK launchers for sway & other WMs w/ menu, dmenu, application grid and button bar
Stars: ✭ 112 (+460%)
Mutual labels:  i3, i3wm
3mux
Terminal multiplexer inspired by i3
Stars: ✭ 1,687 (+8335%)
Mutual labels:  i3, i3wm
I3 Wm Gruvbox Theme
An i3-wm gruvbox theme implementation
Stars: ✭ 188 (+840%)
Mutual labels:  i3, i3wm
Luastatus
universal status bar content generator
Stars: ✭ 195 (+875%)
Mutual labels:  i3, i3wm

i3-workspace-switcher

A workspace switcher for i3 window manager that acts like Windows Alt-Tab application switcher

screenshot

NOTICE: This is just-for-fun one-night project. There is at least one notable bug: if you release the binding keys too fast, the popup window stays on screen. In this case, you should press and release the modifier button (usually Alt or Super) one more time.

Requirements

  • Python (2 or 3)
  • Tcl/Tk/Tkinter — apt-get install python-tk on Ubuntu
  • i3ipc-pythonpip install i3ipc

Configuration

Add these strings to your i3 config:

# set super key as modifier
# use Mod1 for Alt key
# usually this string is already present in the config
set $mod Mod4

# set the path to the script
set $ws $HOME/bin/i3-workspace-switcher.py

# set gui options
# see http://effbot.org/tkinterbook/listbox.htm#Tkinter.Listbox.config-method for options description
set $ws_options --borderwidth 10 --selectborderwidth=3 --activestyle=dotbox --relief=flat --font='Ubuntu 16 bold' --background='#551a8b' --foreground '#ffffff'

# bindings: Super+Tab and Super+Shift+Tab
bindsym $mod+Tab exec --no-startup-id $ws --mod $mod $ws_options
bindsym $mod+Shift+Tab exec --no-startup-id $ws --mod $mod --reverse $ws_options

# run the daemon on i3 startup
# it's necessary to keep the history of workspaces
# store 5 last active workspaces in the history
exec --no-startup-id $ws --daemon --size 5

# enable floating mode and hide both border and title for switcher window
for_window [class="^I3-workspace-switcher$"] floating enable border none

License

This software is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].