codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

fine-grained restoring of layout state #524

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If the 'a' stays the same but the user changes the layout 'b', such that it 
cannot be read for layouts:

  onWorkspace "1" a b

  a ||| b

Currently the whole layout will be reset to whatever the default is. It is 
possible to use the 'a'. For example using template haskell: 
https://github.com/liskin/liskin-xmonad-conf/blob/master/lib/XMonad/Layout/Flexi
bleRead.hs

Perhaps there's a way to do it without issues such as:

 - complicated code
 - template haskell
 - breaking all code that has `import XMonad'

Original issue reported on code.google.com by vogt.a...@gmail.com on 14 Jan 2013 at 6:14