[XMonad] Update filepath to window class remap
This commit is contained in:
parent
035d09a02b
commit
3259a8313a
@ -92,7 +92,8 @@ myDecorateName ws w = do
|
|||||||
|
|
||||||
getClassRemap = do
|
getClassRemap = do
|
||||||
home <- getHomeDirectory
|
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)
|
return $ fromMaybe M.empty (decode text)
|
||||||
|
|
||||||
setWorkspaceNameToFocusedWindow workspace = do
|
setWorkspaceNameToFocusedWindow workspace = do
|
||||||
|
Loading…
Reference in New Issue
Block a user