From da566d63e69dc078c8083bda935c46d83eb6b9a5 Mon Sep 17 00:00:00 2001 From: jpolchlo Date: Tue, 7 Nov 2023 17:41:30 -0500 Subject: [PATCH] X.P.Unicode: Add docs about UnicodeData.txt Having this file is required for the prompt to work, and how to obtain it may not be immediately obvious. --- XMonad/Prompt/Unicode.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/XMonad/Prompt/Unicode.hs b/XMonad/Prompt/Unicode.hs index d3c365aa02..fdb9e655d2 100644 --- a/XMonad/Prompt/Unicode.hs +++ b/XMonad/Prompt/Unicode.hs @@ -61,6 +61,11 @@ and adding an appropriate keybinding, for example: > , ((modm .|. controlMask, xK_u), unicodePrompt "/path/to/unicode-data" def) +A path to a @UnicodeData.txt@ file or equivalent must be provided. This file +should be available through your package manager; search for @unicode-data@. +If no package is found, one may opt to download this file directly from +[unicode.org](http://www.unicode.org/Public/UNIDATA/UnicodeData.txt). + 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.