Devin Mullins | 27 Sep 10:08 2014
Picon

darcs patch: X.A.Navigation2D: add convenience functions for settin...

Norbert, as the original author of this, does this look okay to you? If you
don't mind/care, I will submit.

1 patch for repository code.haskell.org:/srv/code/XMonadContrib:

Fri Sep 26 01:02:15 PDT 2014  Devin Mullins <devinmullins@...>
  * X.A.Navigation2D: add convenience functions for setting config & keybindings
  Added 'navigation2D' which delegates to withNavigation2DConfig and
  additionalKeys, and 'navigation2DP' which is the 'additionalKeysP' version of
  the same.

Attachment (patch-preview.txt): text/x-darcs-patch, 4416 bytes
Norbert, as the original author of this, does this look okay to you? If you
don't mind/care, I will submit.

1 patch for repository code.haskell.org:/srv/code/XMonadContrib:

Fri Sep 26 01:02:15 PDT 2014  Devin Mullins <devinmullins@...>
  * X.A.Navigation2D: add convenience functions for setting config & keybindings
  Added 'navigation2D' which delegates to withNavigation2DConfig and
  additionalKeys, and 'navigation2DP' which is the 'additionalKeysP' version of
  the same.

Devin Mullins | 26 Sep 10:09 2014
Picon

darcs patch: X.A.Navigation2D: add convenience functions for settin...

cc'ing Norbert, as he was the original author of this.

1 patch for repository code.haskell.org:/srv/code/XMonadContrib:

Fri Sep 26 01:02:15 PDT 2014  Devin Mullins <devinmullins@...>
  * X.A.Navigation2D: add convenience functions for setting config & keybindings
  Added 'navigation2D' which delegates to withNavigation2DConfig and
  additionalKeys, and 'navigation2DP' which is the 'additionalKeysP' version of
  the same.

Attachment (patch-preview.txt): text/x-darcs-patch, 4416 bytes
cc'ing Norbert, as he was the original author of this.

1 patch for repository code.haskell.org:/srv/code/XMonadContrib:

Fri Sep 26 01:02:15 PDT 2014  Devin Mullins <devinmullins@...>
  * X.A.Navigation2D: add convenience functions for setting config & keybindings
  Added 'navigation2D' which delegates to withNavigation2DConfig and
  additionalKeys, and 'navigation2DP' which is the 'additionalKeysP' version of
  the same.

Devin Mullins | 24 Sep 20:57 2014
Picon

Re: Patch to add new Layout message

Don't forget to reply-all. I was going to generate one for you, but code.haskell.org is done, making it difficult. Some other notes I probably should have mentioned last time:

1. I don't have commit rights to xmonad, so I can't approve.
2. Generally, the community is more conservative about xmonad core - especially adding new features. When something can be done in contrib instead, it usually is.
3. And yeah, if you get a chance to install darcs and `darcs get http://code.haskell.org/xmonad` and `darcs get http://code.haskell.org/XMonadContrib`, you'll make comitters' lives easier.

Otherwise, looks reasonable. I, too, fall into the same bucket of either 1 or 2 master panes.

On Tue, Sep 23, 2014 at 12:01 PM, Mike Meyer <mwm <at> mired.org> wrote:
sendmail may or may not be set up correctly - I generally do mail in the cloud. Darcs isn't installed, the patches were against source gotten with "cabal get". Any chance I can get someone on the list to generate a darcs patch, or do I have to install darcs and figure out what to do to get to go from a patch file or patched source files to a darcs patch?

Thanks,
Mike

On Tue, Sep 23, 2014 at 12:42 PM, Devin Mullins <devin.mullins <at> gmail.com> wrote:
Thanks, Mike. Patches should be darcs patches. If your sendmail is setup correctly, you can use `darcs send` to mail the list, otherwise `darcs send -O` will create a file you can attach or send.

On Tue, Sep 23, 2014 at 7:31 AM, Mike Meyer <mwm-tkOQc4lHIczYtjvyW6yDsg@public.gmane.org> wrote:
I found the inc/dec masterN commands to be a bit clumsy, especially considering that I pretty much just use 1 client in the master pane most of the time, sometimes using 2 when I wanted to alternate between two windows rapidly. I just submitted issue #577 on the google code issue tracker that includes a patch to add a new Message for changing the client count.

The Message is called "SplitMaster", and has no arguments. It sets the client count of the master pane to 1 if it's not currently 1, thus providing a quick way to get back to that setting. It setgs the client count for the master pane to 2 if it's currently 1, effectively making it a toggle between the two modes of a split master pane and an full size master pane.

I'm not sure if that's the proper way to submit patches. If not, please let me know what I need to do to submit it properly. If it is, could I get somoen to consider it and either merge it (with whatever fixes it requires) or let me know what I can do to get it merged?

Thanks,
Mike


_______________________________________________
xmonad mailing list
xmonad-HC+Z4NTRIlBAfugRpC6u6w@public.gmane.org
http://www.haskell.org/mailman/listinfo/xmonad




<div>
<div dir="ltr">Don't forget to reply-all. I was going to generate one for you, but <a href="http://code.haskell.org">code.haskell.org</a> is done, making it difficult. Some other notes I probably should have mentioned last time:<div><br></div>
<div>1. I don't have commit rights to xmonad, so I can't approve.</div>
<div>2. Generally, the community is more conservative about xmonad core - especially adding new features. When something can be done in contrib instead, it usually is.</div>
<div>3. And yeah, if you get a chance to install darcs and `darcs get <a href="http://code.haskell.org/xmonad%60">http://code.haskell.org/xmonad`</a> and `darcs get <a href="http://code.haskell.org/XMonadContrib%60">http://code.haskell.org/XMonadContrib`</a>, you'll make comitters' lives easier.</div>
<div><br></div>
<div>Otherwise, looks reasonable. I, too, fall into the same bucket of either 1 or 2 master panes.</div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Tue, Sep 23, 2014 at 12:01 PM, Mike Meyer <span dir="ltr">&lt;<a href="mailto:mwm@..." target="_blank">mwm <at> mired.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">sendmail may or may not be set up correctly - I generally do mail in the cloud. Darcs isn't installed, the patches were against source gotten with "cabal get". Any chance I can get someone on the list to generate a darcs patch, or do I have to install darcs and figure out what to do to get to go from a patch file or patched source files to a darcs patch?<div><br></div>
<div>Thanks,</div>
<div>Mike</div>
</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra">
<br><div class="gmail_quote">On Tue, Sep 23, 2014 at 12:42 PM, Devin Mullins <span dir="ltr">&lt;<a href="mailto:devin.mullins@..." target="_blank">devin.mullins <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">Thanks, Mike. Patches should be darcs patches. If your sendmail is setup correctly, you can use `darcs send` to mail the list, otherwise `darcs send -O` will create a file you can attach or send.</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Tue, Sep 23, 2014 at 7:31 AM, Mike Meyer <span dir="ltr">&lt;<a href="mailto:mwm@..." target="_blank">mwm@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">I found the inc/dec masterN commands to be a bit clumsy, especially considering that I pretty much just use 1 client in the master pane most of the time, sometimes using 2 when I wanted to alternate between two windows rapidly. I just submitted issue #577 on the google code issue tracker that includes a patch to add a new Message for changing the client count.<div><br></div>
<div><div>The Message is called "SplitMaster", and has no arguments. It sets the client count of the master pane to 1 if it's not currently 1, thus providing a quick way to get back to that setting. It setgs the client count for the master pane to 2 if it's currently 1, effectively making it a toggle between the two modes of a split master pane and an full size master pane.</div></div>
<div><br></div>
<div>I'm not sure if that's the proper way to submit patches. If not, please let me know what I need to do to submit it properly. If it is, could I get somoen to consider it and either merge it (with whatever fixes it requires) or let me know what I can do to get it merged?</div>
<div><br></div>
<div>Thanks,</div>
<div>Mike</div>
<div><br></div>
</div>
<br>_______________________________________________<br>
xmonad mailing list<br><a href="mailto:xmonad@..." target="_blank">xmonad@...</a><br><a href="http://www.haskell.org/mailman/listinfo/xmonad" target="_blank">http://www.haskell.org/mailman/listinfo/xmonad</a><br><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div></div>
</blockquote>
</div>
<br>
</div>
</div>
Sepp Tannhuber | 24 Sep 17:57 2014
Picon

Looking for "runOrKill" function

My `additionalKeys` section of xmonad.hs has this key binding:
((mod3Mask, xK_d),               raiseMaybe (runInTerm "-title calendar -hold -geometry 105x12+0+25" "task
calendar") (title =? "calendar"))

I would like to replace the raiseMaybe by something like runOrKill. This means, it should run the terminal
with title "calendar" if it's not yet running. Otherwise it should kill the terminal. How can I do that? Is
it possible at all?
Mike Meyer | 23 Sep 16:31 2014

Patch to add new Layout message

I found the inc/dec masterN commands to be a bit clumsy, especially considering that I pretty much just use 1 client in the master pane most of the time, sometimes using 2 when I wanted to alternate between two windows rapidly. I just submitted issue #577 on the google code issue tracker that includes a patch to add a new Message for changing the client count.

The Message is called "SplitMaster", and has no arguments. It sets the client count of the master pane to 1 if it's not currently 1, thus providing a quick way to get back to that setting. It setgs the client count for the master pane to 2 if it's currently 1, effectively making it a toggle between the two modes of a split master pane and an full size master pane.

I'm not sure if that's the proper way to submit patches. If not, please let me know what I need to do to submit it properly. If it is, could I get somoen to consider it and either merge it (with whatever fixes it requires) or let me know what I can do to get it merged?

Thanks,
Mike

<div><div dir="ltr">I found the inc/dec masterN commands to be a bit clumsy, especially considering that I pretty much just use 1 client in the master pane most of the time, sometimes using 2 when I wanted to alternate between two windows rapidly. I just submitted issue #577 on the google code issue tracker that includes a patch to add a new Message for changing the client count.<div><br></div>
<div><div>The Message is called "SplitMaster", and has no arguments. It sets the client count of the master pane to 1 if it's not currently 1, thus providing a quick way to get back to that setting. It setgs the client count for the master pane to 2 if it's currently 1, effectively making it a toggle between the two modes of a split master pane and an full size master pane.</div></div>
<div><br></div>
<div>I'm not sure if that's the proper way to submit patches. If not, please let me know what I need to do to submit it properly. If it is, could I get somoen to consider it and either merge it (with whatever fixes it requires) or let me know what I can do to get it merged?</div>
<div><br></div>
<div>Thanks,</div>
<div>Mike</div>
<div><br></div>
</div></div>
codesite | 23 Sep 16:26 2014
Picon

Issue 577 in xmonad: Add new master pane client count control command

Status: New
Owner: ----

New issue 577 by m...@...: Add new master pane client count
control  
command
https://code.google.com/p/xmonad/issues/detail?id=577

What steps will reproduce the problem?
1. Follow my usage for a while.
2. Note that I often send "IncMasterN" instead of "DecMasterN" by accident.
3. Also note that I pretty much never have more than two clients in the  
master pane.

What is the expected output? What do you see instead?
I expect to not reach unused configurations by accident. I expect the WM to  
allow a configuration that prevents that.

What version of the product are you using? On what operating system? 0.11  
on FreeBSD 10.

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".
Not completely relevant.

Please provide any additional information below.
The attached patch file adds a new Message type to the Tall layout (I  
didn't see where it should be added to other layouts). The message is  
called "SplitMaster", and has no arguments. It fixes the first issue by  
setting the client count to the master pane to 1 if it's not currently 1,  
thus providing a quick way to get back to that setting. It solves the  
second issue by changing the client count for the master pane to 2 if it's  
currently 1, effectively making it a toggle between the two modes of a  
split master pane and an unsplit master pane.

Attachments:
	xmd  3.7 KB

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Devin Mullins | 21 Sep 09:16 2014
Picon

Announcing XMonad.Config.Prime

<shameless-plug>

I've pushed XMonad.Config.Prime, which I worked on a long time ago, and decided to clean up and release now. You can check out an example config at: http://twifkak.com/xmonad-junk/XMonad-Config-Prime4.html#g:9

I've been using the syntax for quite a while. Now you can, too! I tried to document it decently. I also switched my mailing list subscription to an email I will check more often.

Per previous feedback, the code doesn't introduce any dependencies (other than a slew of LANGUAGE pragmas, but notably not TemplateHaskell).

The main remaining task would be to get (>>) to work with both Prime and Monad. I got a lead from a mailing list that I may be able to follow, but in the meantime, I figure such a change would be backwards-compatible, and hence non-blocking.

- Devin (twifkak)

[1] I tried to `darcs send` it earlier, but my email got eaten, and I got impatient and just pushed. No offense taken if you need to rollback.
<div><div dir="ltr">
<div>&lt;shameless-plug&gt;</div>
<div><br></div>
<div>I've pushed&nbsp;XMonad.Config.Prime, which I worked on a long time ago, and decided to clean up and release now. You can check out an example config at: <a href="http://twifkak.com/xmonad-junk/XMonad-Config-Prime4.html#g:9">http://twifkak.com/xmonad-junk/XMonad-Config-Prime4.html#g:9</a>
</div>
<div><br></div>
<div>
<div>I've been using the syntax for quite a while. Now you can, too! I tried to document it decently. I also switched my mailing list subscription to an email I will check more often.</div>
<div><br></div>
<div>Per previous feedback, the code doesn't introduce any dependencies (other than a slew of LANGUAGE pragmas, but notably not TemplateHaskell).</div>
<div><br></div>
<div>The main remaining task would be to get (&gt;&gt;) to work with both Prime and Monad. I got a lead from a mailing list that I may be able to follow, but in the meantime, I figure such a change would be backwards-compatible, and hence non-blocking.</div>
<div><br></div>
<div>- Devin (twifkak)</div>
</div>
<div><br></div>
<div>[1] I tried to `darcs send` it earlier, but my email got eaten, and I got impatient and just pushed. No offense taken if you need to rollback.<br>
</div>
</div></div>
Sepp Tannhuber | 16 Sep 16:43 2014
Picon

trigger xmonad commands with shell script

Dear all,

I would like to raise a certain window from within a shell script.
Is it possible to trigger xmonad to execute something like
  raiseMaybe (runInTerm "-title myWindow" "myWindow") (title =? "myWindow")
with a shell script? Or do you know any other possibility to raise a window
from a shell?
Carsten Mattner | 13 Sep 15:02 2014
Picon

update: chromium slow redraw

Due to my local xmonad --recompile breakage I had to fall back to dwm and
was surprised to see that the very slow non-floating Chromium window
redraw evident in XMonad since Chromium switched to Aura does NOT
happen in dwm.

Any idea what's different in the dwm X11 code that doesn't make Chromium
window (content) redraws super visible (slow)?
Carsten Mattner | 12 Sep 21:02 2014
Picon

xmonad --recompile breakage

xmonad --recompile stopped working here this week and fails with scope errors
in stuff from xmonadcontrib. Anyone else see this?
Mike Sullivan | 3 Sep 04:18 2014
Picon

What happened to ScreenWorkspaces?

Does anybody know what happened to the ScreenWorkspaces module, mentioned briefly here?


It sounds useful, as it seems like it would extend Xmonad.Layout.IndependentScreens to also allow for a more polished experience (notably, perhaps it would fix CycleWS behavior as discussed at http://www.haskell.org/pipermail/xmonad/2009-December/009466.html). Also, it would allow for a more Gnome-like multi-head experience (as mentioned at http://article.gmane.org/gmane.comp.lang.haskell.xmonad/7774).

Mike
<div><div dir="ltr">Does anybody know what happened to the&nbsp;<span>ScreenWorkspaces module, mentioned briefly here?</span><div><br></div>
<div>
<a href="http://article.gmane.org/gmane.comp.lang.haskell.xmonad/7223">http://article.gmane.org/gmane.comp.lang.haskell.xmonad/7223</a><br>
</div>
<div><br></div>
<div>It sounds useful, as it seems like it would extend Xmonad.Layout.IndependentScreens to also&nbsp;allow for a more polished experience (notably, perhaps it would fix CycleWS behavior as discussed at&nbsp;<a href="http://www.haskell.org/pipermail/xmonad/2009-December/009466.html">http://www.haskell.org/pipermail/xmonad/2009-December/009466.html</a>). Also, it would allow for a more<span>&nbsp;Gnome-like multi-head experience (as mentioned at&nbsp;<a href="http://article.gmane.org/gmane.comp.lang.haskell.xmonad/7774">http://article.gmane.org/gmane.comp.lang.haskell.xmonad/7774</a>).</span>
</div>

<div><br></div>
<div><span>Mike</span></div>
</div></div>

Gmane