[xmonad] Changing workspaces on both physical screens
Christophe Garion
tofgarion+xmonad at runbox.com
Thu Dec 13 11:17:24 UTC 2018
Hello,
I am using xmonad on my Linux laptop and pdfpc
(https://pdfpc.github.io/) for presentation. pdfpc uses two windows, one
with current slide, next slides, notes etc. and the other one with the
presentation only. I usually use workspace 8 on my laptop with the
window with notes and workspace 9 on the projector with the presentation
window.
I sometimes switch workspaces to show code snippets in emacs etc. and I
want to be able to quickly restore the "pdfpc" workspaces. I use the
following binding:
((modMask .|. shiftMask , xK_p), (do windows (W.view "9");
swapNextScreen;
windows (W.view "8")))
which may not be the most elegant solution :)
Is there a more "haskell" way to do the same thing?
Best,
Christophe
--
Christophe Garion
GPG: 1982 15B2 64AC 3C34 532D BF19 6CD6 246C 62DA 5A7F
More information about the xmonad
mailing list