/test_rofi_plugin

Primary LanguageCGNU General Public License v3.0GPL-3.0

Example Rofi Plugin

Use Makefile in project root

  • The makefile is set up to install things to ${HOME}/.local
make && make install

Building and Installing a rofi plugin

Here are some examples for use without the included makefile.

Building and Installing rofi from git

git clone https://github.com/DaveDavenport/rofi
cd rofi/
git submodule update --init
autoreconf -i
mkdir build
cd build
../configure --prefix=${HOME}/.local/

Building and Installing a plugin

The following example builds and installs the rofi-top plugin.

git clone https://gitcrate.org/qtools/rofi-top.git
cd rofi-top
autoreconf -i
mkdir build
cd build
PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig ../configure --prefix=${HOME}/.local/
make
make install

Running plugin

rofi -plugin-path ~/.local/lib/rofi -show top -modi top