never show infobars on certain workspace

hi! i'm looking for the method how to avoid showing infobars like dzenbar on a particular workspace. is it possible? if yes, could someone give concrete hints and recommendations how to implement it? i use xmonad-darcs and bars are spawned with the following lines: main = do myStatusBarPipe <- spawnPipe myStatusBar conkyBar <- spawnPipe myConkyBar

Excerpts from enxt's message of Tue Dec 13 09:57:09 -0700 2011:
i'm looking for the method how to avoid showing infobars like dzenbar on a particular workspace. is it possible? if yes, could someone give concrete hints and recommendations how to implement it?
There's an example at http://www.haskell.org/pipermail/xmonad/2010-January/009552.html If you want to be able to toggle the bar on sometimes but have it default to off, in the example replace onWorkspace "vid" (Full ||| Grid) with onWorkspace "vid" (avoidStrutsOn [] $ Full ||| Grid) -- wmw

Wirt Wolff [2011.12.13 1020 -0700]:
Excerpts from enxt's message of Tue Dec 13 09:57:09 -0700 2011:
i'm looking for the method how to avoid showing infobars like dzenbar on a particular workspace. is it possible? if yes, could someone give concrete hints and recommendations how to implement it?
There's an example at http://www.haskell.org/pipermail/xmonad/2010-January/009552.html
If you want to be able to toggle the bar on sometimes but have it default to off, in the example replace
onWorkspace "vid" (Full ||| Grid)
with
onWorkspace "vid" (avoidStrutsOn [] $ Full ||| Grid)
And I stand corrected ;) N.

enxt [2011.12.13 1957 +0300]:
hi!
i'm looking for the method how to avoid showing infobars like dzenbar on a particular workspace. is it possible? if yes, could someone give concrete hints and recommendations how to implement it?
i use xmonad-darcs and bars are spawned with the following lines:
main = do myStatusBarPipe <- spawnPipe myStatusBar conkyBar <- spawnPipe myConkyBar
The answer depends on what exactly it is you want. - If you - Simply want your windows to use the entire screen (covering up the status bar and thereby creating the illusion that it's not there) and - You're okay with setting this up interactively, then create a key binding for XMonad.Hooks.ManageDocks.toggleStruts, and you can interactively show/hide the status bar. The status of visible/hidden statusbar is actually stored on a per-workspace/layout basis. So it will give you the end result you want: statusbar visible on some workspaces, not visible on others. - If you really want the status bar to disappear, then I don't think this can be done using the current way in which xmonad interacts with status bars. Essentially, it doesn't manage them at all, but this is what would be required to physically hide them. - If what you want is between these two extremes and you are okay with simply covering up the workspace but you want things setup automatically so that the statusbar is visible on some workspaces and hidden on others, I think this should not be too hard to do, but a little trickery will be required. So, maybe you can explain more precisely what you want, and then we can investigate your options further. N.

Yes, I want infobars never to be shown on a particular workspace or to be in hidden state, but not simply being overlapped by client's windows. The hint with layoutHook provided in the previous post does not work for me.

Quoting nxt7
Yes, I want infobars never to be shown on a particular workspace or to be in hidden state, but not simply being overlapped by client's windows.
The hint with layoutHook provided in the previous post does not work for me.
Perhaps you could cobble something together by *not* ignoring the docks (e.g. not using manageDocks), using the IM layout, and copying the docks to all the workspaces that you want them to appear on. http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-IM.html http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Actions-CopyWindow.html ~d
participants (5)
-
enxt
-
Norbert Zeh
-
nxt7
-
wagnerdm@seas.upenn.edu
-
Wirt Wolff