haskell - How to make xmonad workspace name display the number of window? -


good evening, sorry bother basic question.

recently, moved xmonad. i'm new haskell , tried learn little little. want make workspace name in xmonad display number of open windows. give example better understanding.

i have 3 workspaces, let's "ws1", "ws2", , "ws3". hope can make this.

| ws1 (n1) | ws2 (n2) | ws3 (n3) | 

where ws name of workspace , n number of window in each workspace. when have 3 windows opened in ws1, 2 windows opened in ws2, , 0 window opened in ws3, this.

| ws1 (3) | ws2 (2) | ws3 (0) | 

i don't know how configure in xmonad. people @ xmonad channel told me can display using

map (\ws -> (w.tag ws ,length . w.integrate . w.stack $ ws) w.workspaces `fmap` withwindowset  

but don't know should put code.

i'm sorry english. appreciate if knows how it. thank you.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -