about summary refs log tree commit diff
path: root/src/XMonad/Custom/Prompt.hs
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
committerAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
commit729e030dd25da2e36fa5a1312b8ecb3415dc1675 (patch)
tree53166b6c3bd96f860d0a7242353ef9cc7bb1790f /src/XMonad/Custom/Prompt.hs
parentRemove tests (diff)
Huge update
Diffstat (limited to 'src/XMonad/Custom/Prompt.hs')
-rw-r--r--src/XMonad/Custom/Prompt.hs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/XMonad/Custom/Prompt.hs b/src/XMonad/Custom/Prompt.hs
deleted file mode 100644
index e8762d1..0000000
--- a/src/XMonad/Custom/Prompt.hs
+++ /dev/null
@@ -1,27 +0,0 @@
--- |
--- Module      : XMonad.Custom.Prompt
--- Copyright   : (c) 2018-2020 Azat Bahawi <azahi@teknik.io>
--- License     : BSD3-style (see LICENSE)
--- Maintainer  : Azat Bahawi <azahi@teknik.io>
--- Stability   : unstable
--- Portability : unportable
---
-
-module XMonad.Custom.Prompt
-  ( listCompFunc
-  , aListCompFunc
-  , predicateFunction
-  ) where
-
-import           Data.Char
-import           Data.List
-import           XMonad.Prompt
-
-listCompFunc :: XPConfig -> [String] -> String -> IO [String]
-listCompFunc c xs s = return (filter (searchPredicate c s) xs)
-
-aListCompFunc :: XPConfig -> [(String, a)] -> String -> IO [String]
-aListCompFunc c xs = listCompFunc c (map fst xs)
-
-predicateFunction :: String -> String -> Bool
-predicateFunction x y = lc x `isInfixOf` lc y where lc = map toLower

Consider giving Nix/NixOS a try! <3