This small shell script allows you to switch between windows with dmenu.
- dmenu
- xprop
- xdotool
- (focusonnetactive patch if you use dwm)
git clone https://github.com/NikitaIvanovV/dmenu-win
cd dmenu-win
sudo make install
Uninstall with sudo make uninstall
If you are an Arch Linux user, you can install dmenu-win-git
AUR package.
yay -S dmenu-win-git
Just run:
dmenu-win
dmenu is called with these options by default: -i -l 10 -p Windows
. You can set your options via DMENU
environmental variable:
DMENU='dmenu -l 5 -p Type...' dmenu-win
It's also possible to replace dmenu altogether (e.g. with fzf):
DMENU='fzf --border=rounded --layout=reverse-list' dmenu-win