Skip to content

tobias/quickwin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickwin

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.

Installation

You’ll need to install:

  • A few debs:
    • luarocks: to install Lua packages
    • libxmu-dev: needed to build xctrl
    • libdbus-glib-1-dev: to install ldbus
    • libgirepository1.0-dev to install lgi

    All together: apt install luarocks libxmu-dev libdbus-glib-1-dev

  • Some lua packages:
    • luarocks install fennel: the Fennel language
    • luarocks install stdlib: nice Lua addons
    • luarocks install lgi: bindings to GObject/GTK and friends
    • luarocks install lanes: threading for Lua
    • luarocks 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"

Building

Build with make build.

Setup

After building, you’ll need to bind quickwin.sh to a keybinding - I use alt+tab to replace the default switcher.

License

GNU General Public License v3, see COPYING.

About

A GTK-based window switcher written in Fennel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published