
In case someone else has the same problem I've found this piece of code that does what I need: it tells me which workspaces are visible
http://pages.stern.nyu.edu/~marriaga/software/xmonad-workspaces-applet/
best
~l
--- On Mon, 5/9/11, wagnerdm@seas.upenn.edu
From: wagnerdm@seas.upenn.edu
Subject: Re: [xmonad] is it possible to display workspace number on the corresponding screen? To: xmonad@haskell.org Date: Monday, May 9, 2011, 1:23 AM I recommend setting up xmobar and using XMonad.Hooks.DynamicLog. It should do pretty much exactly what you want out of the box. ~d http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DynamicLog.html
Quoting Lara Michaels
: Hi everyone,
I just moved to a three-screen setup at work and am suffering from a curious problem: I cannot remember which workspace is being displayed on each of the screens! That makes it pretty time-consuming to switch one screen from its current workspace to a different one.
With the earlier help of list members, I am using showWMName:
import XMonad.Layout.ShowWName
myLayout = layoutHook gnomeConfig -- part of displaying current workspace name using Xmonad.Layout.ShowWName
main = xmonad $ ewmh gnomeConfig { manageHook = manageHook gnomeConfig <+> composeAll myManageHook, workspaces = myWorkspaces, modMask = mod4Mask, -- makes all xmonad shortcuts be "Windows key + X" (thus not interfering with any app's)
borderWidth = 3,
normalBorderColor = "#cccccc",
layoutHook = showWName myLayout } `additionalKeysP` myKeys
This gets me a small useful indication of which workspace I am moving to *when I switch from one to the other*.
Similarly, is it possible to permanently display in a corner (e.g., in the bottom-left corner) of each screen the number of the workspace that is being displayed on that screen? Or perhaps have the option of showing this same information in the center of each screen by pressing a hot key?
With multihead setups (where I think xmonad really shines), it is quite confusing not know which workspace you are looking at on each screen... I only wish I understood Haskell so that I could implement something like this. If
focusedBorderColor = "#cd8b00", this is a small hack that can be accomplished with three lines of code, please tell me how to do it! :)
all the best and my thanks for any help ~lara
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad