title: How can I toggle between physical displays in a single keystroke?
body: <p>The following lines bind mod-[wer] to going to displays 1, 2 and 3. Instead of this mechanism, I'd like to toggle between displays in a single keystroke, How can I do so?</p>
  
  <p>Thanks.</p>
  
  <pre><code>[((m .|. modm, key), screenWorkspace sc &gt;&gt;= flip whenJust (windows . f))
      | (key, sc) &lt;- zip [xK_e, xK_w, xK_r] [0..]
      , (f, m) &lt;- [(W.view, 0), (W.shift, shiftMask)]]
  </code></pre>