xmonad-contrib-0.15: Third party extensions for xmonad

Copyright (c) 2016 Joachim Breitner2017 Nick Hu BSD-style (see LICENSE) stable None Haskell98

XMonad.Prompt.Unicode

Contents

Description

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

The provided unicodePrompt and typeUnicodePrompt use xsel and xdotool respectively.

Synopsis

# 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 "/path/to/unicode-data" def)

More flexibility is given by the mkUnicodePrompt function, which takes a command and a list of arguments to pass as its first two arguments. See unicodePrompt for details.

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

Prompt the user for a Unicode character to be typed by xdotool.