Skip to content

Instantly share code, notes, and snippets.

@amiryal
amiryal / gist:1543873
Created December 31, 2011 12:29
Xubuntu (Xfce) fuzzy autocomplete menu window switcher keyboard shortcuts

To have the executables available in Ubuntu or Debian:

apt-get install suckless-tools

Keyboard shortcut command to choose from all windows:

/bin/sh -c 'wmctrl -l | while read i j k l; do echo $i $l; done | dmenu -i -l 16 | awk "{print \$1}" | while read i; do wmctrl -iR $i; done'

Keyboard shortcut command to choose from windows of the same process as currently active window: