QPlugin for the Albert Launcher that allows Albert to switch to open windows. This utility is designed for systems that use the X11 window system. As of the time that this was written, this functionality does exist in Albert via a python wrapper for the wmctrl utility, however this implementation aims to have better performance as it removes any of the added overhead of python and pybind11 because the functionality is implemented natively.
This plugin also shares the same dependencies that are needed to build Albert from sources. Information about building Albert from sources and its dependencies can be found here.
git clone --recursive https://github.com/albertlauncher/albert.git
cd albert/plugins
git submodule add https://github.com/jbwong05/Albert-X-Window-Switcher.git
./Albert-X-Window-Switcher/updateCMakeLists.sh
cd ..
mkdir albert-build
cd albert-build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
sudo make install
git clone https://github.com/jbwong05/Albert-X-Window-Switcher.git
cd Albert-X-Window-Switcher
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SEPARATELY=ON ..
make
sudo make install
sudo rm -f /usr/lib/albert/plugins/libxwindowswitcher.so