A fuzzy matching window switcher built with Fennel and GTK. There are many like it, but this one is mine.
This has only been tested on Ubuntu 20.04 with Lua 5.1.
You’ll need to install:
- A few debs:
luarocks
: to install Lua packageslibxmu-dev
: needed to buildxctrl
libdbus-glib-1-dev
: to installldbus
libgirepository1.0-dev
to installlgi
All together:
apt install luarocks libxmu-dev libdbus-glib-1-dev
- Some lua packages:
luarocks install fennel
: the Fennel languageluarocks install stdlib
: nice Lua addonsluarocks install lgi
: bindings to GObject/GTK and friendsluarocks install lanes
: threading for Lualuarocks install --server=http://luarocks.org/manifests/daurnimator ldbus DBUS_INCDIR=/usr/include/dbus-1.0/ DBUS_ARCH_INCDIR=/usr/lib/x86_64-linux-gnu/dbus-1.0/include/
: dbus bindings
- My fork of
xctrl
(to allow multiple connections to XWindows per process):
git clone git@github.com:tobias/xctrl.git
cd xctrl
make install EXTRA_CFLAGS="-I/usr/include/lua5.1 -fPIC" EXTRA_LDFLAGS="-Wl,--no-as-needed"
Build with make build
.
After building, you’ll need to bind quickwin.sh to a keybinding - I
use alt+tab
to replace the default switcher.
GNU General Public License v3, see COPYING.