[XMonad] Update filepath to window class remap

This commit is contained in:
Ivan Malison 2016-10-27 04:03:27 -07:00
parent 035d09a02b
commit 3259a8313a
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -92,7 +92,8 @@ myDecorateName ws w = do
getClassRemap = do
home <- getHomeDirectory
text <- B.readFile (home </> ".lib/class_remap.json")
-- TODO: handle the case where this file does not exist
text <- B.readFile (home </> ".lib/resources/window_class_to_fontawesome.json")
return $ fromMaybe M.empty (decode text)
setWorkspaceNameToFocusedWindow workspace = do