
Hi, we have been waiting this new 0.6 release for quite sometime now, and, instead of branching the code to be released so not to block developers from pushing new features and having users try them out, providing useful feedback, ideas, bugs reports, and so on, we have a freezed repository, which is quite a useless thing, as far as I understand. The last patch is 11 days old. I hoped I could use this quiet period of time, the one between the end of the first semester and the start of the second, to code a new decoration framework, something I wanted since we moved to the class approach, in order to replace the old David's Decorations. That would require some testing, some discussion, some ideas, but probably, when this code will be pushed, I'll be back to work, I won't have the code fresh in my mind, so I will have to spend more time to fix it, or to improve it, or to add new features. I already have something in mind (a mouse interface), but I'm not going to write a single line of code as long as a decision on the code I've already produced have been taken. So, this is the code: a small patch to the core (to add the emptyLayout to the LayoutClass class), and the new decoration framework. I hope you understand I'm not complaining. I share the lack of time problem. On the other hand I hope you understand that such a project management is discouraging people from writing new code. Or at least it discourage me. So, that's it. I'll see you *after* 0.6 is out. Cheers, Andrea a minimum working example: import XMonad import XMonad.Layout.Tabbed import XMonad.Layout.DwmStyle import XMonad.Layout.SimpleDecoration myL = tabDeco shrinkText defaultTabbedConfig ||| simpleDeco shrinkText defaultSimpleConfig (layoutHook defaultConfig) ||| dwmStyle shrinkText defaultDwmStyleConfig (layoutHook defaultConfig) main = xmonad defaultConfig { layoutHook = myL }

On Fri, Jan 25, 2008 at 04:46:41PM +0100, Andrea Rossato wrote:
I already have something in mind (a mouse interface), but I'm not going to write a single line of code as long as a decision on the code I've already produced have been taken.
I'd like to mention that I've enjoyed skimming over the patches you've been sending recently. But I've no time for xmonad either, currently, and am unlikely to be much help. But your work looks pretty cool! And I'm glad you've taken up working on almost precisely the features of xmonad that I wish I had time to work on! :) -- David Roundy Department of Physics Oregon State University

On Fri, Jan 25, 2008 at 11:04:34AM -0500, David Roundy wrote:
On Fri, Jan 25, 2008 at 04:46:41PM +0100, Andrea Rossato wrote:
I already have something in mind (a mouse interface), but I'm not going to write a single line of code as long as a decision on the code I've already produced have been taken.
I'd like to mention that I've enjoyed skimming over the patches you've been sending recently. But I've no time for xmonad either, currently, and am unlikely to be much help. But your work looks pretty cool! And I'm glad you've taken up working on almost precisely the features of xmonad that I wish I had time to work on! :)
Well, thank you for your kind words. I must confess that you show me the way with that LayoutModifier class... a sort of an epiphany of what type classes can be useful for...;) I would like to suggest another minimal ~/.xmonad/xmonad.hs import XMonad import XMonad.Layout.Tabbed import XMonad.Layout.DwmStyle import XMonad.Layout.SimpleDecoration import XMonad.Layout.WindowArranger import qualified Data.Map as M myL = tabDeco shrinkText defaultTabbedConfig ||| simpleDeco shrinkText defaultSimpleConfig (windowArranger $ layoutHook defaultConfig) ||| dwmStyle shrinkText defaultDwmStyleConfig (windowArranger $ layoutHook defaultConfig) myKeys x = [ ((modMask x .|. controlMask , xK_s ), sendMessage Arrange ) , ((modMask x .|. controlMask .|. shiftMask, xK_s ), sendMessage DeArrange ) , ((modMask x .|. controlMask .|. shiftMask, xK_Left ), sendMessage (DecreaseLeft 10)) , ((modMask x .|. controlMask .|. shiftMask, xK_Right), sendMessage (DecreaseRight 10)) , ((modMask x .|. controlMask .|. shiftMask, xK_Down ), sendMessage (DecreaseDown 10)) , ((modMask x .|. controlMask .|. shiftMask, xK_Up ), sendMessage (DecreaseUp 10)) , ((modMask x .|. controlMask , xK_Left ), sendMessage (IncreaseLeft 10)) , ((modMask x .|. controlMask , xK_Right), sendMessage (IncreaseRight 10)) , ((modMask x .|. controlMask , xK_Down ), sendMessage (IncreaseDown 10)) , ((modMask x .|. controlMask , xK_Up ), sendMessage (IncreaseUp 10)) , ((modMask x .|. shiftMask , xK_Left ), sendMessage (MoveLeft 10)) , ((modMask x .|. shiftMask , xK_Right), sendMessage (MoveRight 10)) , ((modMask x .|. shiftMask , xK_Down ), sendMessage (MoveDown 10)) , ((modMask x .|. shiftMask , xK_Up ), sendMessage (MoveUp 10)) ] newKeys x = M.union (keys defaultConfig x) (M.fromList (myKeys x)) main = xmonad defaultConfig { layoutHook = myL } and then start moving and resizing windows around. purely... ;) andrea

On Fri, Jan 25, 2008 at 04:46:41PM +0100, Andrea Rossato wrote:
I already have something in mind (a mouse interface), but I'm not going to write a single line of code as long as a decision on the code I've already produced have been taken. [...]
So, that's it. I'll see you *after* 0.6 is out.
I don't think I'll be able to stick to my first intention, but I'll keep my promise of a silent wait till 0.6... still if you want to see what's going on here, have a look at the following repository: http://gorgias.mine.nu/repos/xmonad-contrib/ which requires this one for the emptyLayout patch (btw I don't think I'm going to touch the core anymore, for the time being): http://gorgias.mine.nu/repos/xmonad/ cheers, andrea
participants (2)
-
Andrea Rossato
-
David Roundy