#!/usr/bin/env sh # Use wmctrl(1) to jump to a window selected from dmenu. # I bind this to mod-shift-g in .xmonad/xmonad.hs, by analogy to the mod-g # binding for GridSelect. wmctrl -i -a `wmctrl -l | dmenu_unique` # -a is for, I think, activate # -i says to expect a numeric id and not a title string # wmenu -l lists windows # dmenu_unique is just a wrapper i wrote around dmenu