Simple and minimalistic plugin for lxpanel to show title of current window. Intended for use with xmonad as WM.
Based on example plugin from lxpanel plugins HOWTO.
Minimal xmonad.hs
to work with lxpanel and lxpanel-window-title:
module Main ( main ) where
import XMonad
import XMonad.Config.Desktop ( desktopConfig )
import XMonad.Hooks.ManageDocks ( manageDocks )
main :: IO ()
main = xmonad $ desktopConfig
{ manageHook = manageDocks <+> manageHook desktopConfig
}
Usual sequence should suffice:
./autogen.sh
./configure
make && make install
Refer to LXPanel plugin development.
./configure CFLAGS='-Wall -pedantic -std=gnu99 -Werror'