aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad/lib/Util.hs
diff options
context:
space:
mode:
Diffstat (limited to '.config/XMonad/lib/Util.hs')
-rw-r--r--.config/XMonad/lib/Util.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/XMonad/lib/Util.hs b/.config/XMonad/lib/Util.hs
new file mode 100644
index 0000000..e3bce04
--- /dev/null
+++ b/.config/XMonad/lib/Util.hs
@@ -0,0 +1,5 @@
+module Util where
+
+wsKeys :: [a] -> [b] -> [(a, b)]
+wsKeys [] [] = []
+wsKeys (w:ws) (k:ks) = [(w, k)] ++ wsKeys ws ks