[XMonad] Bump all versions
This commit is contained in:
parent
be87dc9dee
commit
8cdeb1afbd
@ -1 +1 @@
|
||||
Subproject commit a5cee9bac265485d3e85ea707aeeac5e34a94ba3
|
||||
Subproject commit af354f7528ada1de451365a0f5138ef10a318360
|
@ -1 +1 @@
|
||||
Subproject commit 6aa7e1795c7bdc9092a666325a5389068179aa12
|
||||
Subproject commit 7b83d924d19171f4ba98e7956a72e99ed815e022
|
@ -414,14 +414,15 @@ getEWMHClasses w = do
|
||||
mValue <- fmap (UTF8.decode . map fromIntegral) <$> xGetWindowProperty8 atom w
|
||||
pure $ filter (not . null) $ splitOn "\NUL" $ join $ maybeToList mValue
|
||||
|
||||
myDecorateName :: WindowSpace -> Window -> X String
|
||||
myDecorateName ws w = do
|
||||
name <- show <$> getName w
|
||||
classes <- getEWMHClasses w
|
||||
classTitle <- getClass w
|
||||
workspaceToName <- getWorkspaceNames
|
||||
workspaceToName <- getWorkspaceNames'
|
||||
let iconName = fromMaybe (map toLower $ head classes) $ lookupIconFromClasses classes
|
||||
entryString = printf "%-20s%-40s %+30s in %s \0icon\x1f%s"
|
||||
classTitle (take 40 name) " " (workspaceToName (W.tag ws)) iconName
|
||||
classTitle (take 40 name) " " (fromMaybe "" $ workspaceToName (W.tag ws)) iconName
|
||||
return entryString
|
||||
|
||||
data ChromeInfo = ChromeInfo
|
||||
|
Loading…
Reference in New Issue
Block a user