Port of the KRunner code from the Plasma Browser Integration Project to a QPlugin for the Albert Launcher allowing Albert to access and switch to open browser tabs
This plugin 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. This plugin also requires the Plasma Browser Integration extension to be installed in order to function properly. Information on installing this can be found here.
git clone --recursive https://github.com/albertlauncher/albert.git
cd albert/plugins
git submodule add https://github.com/jbwong05/Albert-KDE-Browser-Integration
./Albert-KDE-Browser-Integration/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-KDE-Browser-Integration.git
cd Albert-KDE-Browser-Integration
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/libkdebrowserintegration.so
The main logic of this plugin was based on the tabsrunner plugin from the Plasma Browser Integration Project.