Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
385 B

#!/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