XMonad.Prompt.Unicode

xmonad-contrib-0.13: Third party extensions for xmonad

Copyright | (c) 2016 Joachim Breitner
License | BSD-style (see LICENSE)
Maintainer | <mail@joachim-breitner.de>
Stability | stable
Safe Haskell | None
Language | Haskell98

XMonad.Prompt.Unicode

Contents

- Usage

Description

A prompt for searching unicode characters by name and inserting them into the clipboard.

Requires the file `/usr/share/unicode/UnicodeData.txt` (shipped in the package `unicode-data` on Debian) and the `xsel` tool.

Synopsis

- unicodePrompt :: XPConfig -> X ()

# Usage

You can use this module by importing it, along with XMonad.Prompt, into your ~/.xmonad/xmonad.hs file:

    import XMonad.Prompt
    import XMonad.Prompt.Unicode

and adding an appropriate keybinding, for example:

     , ((modm .|. controlMask, xK_u), unicodePrompt def)

unicodePrompt :: XPConfig -> X () #

Prompt the user for a unicode character to be inserted into the paste buffer of the X server.