On Mon, Jan 06, 2014 at 11:09:59AM +0000, James Griffin wrote: > I have a panel on the bottom of the display, i'd like a function i > can bind to a key press combination that will open it if it's not > already and close it if it is.
I have this in my config: #// #// Application toggling function #// #// first argument is the window name, second argument is the command to start #// the application. AddToFunc ToggleWindow + I None ($$0, CirculateHit) $$1 + I TestRc (Match) Break + I Next (currentpage, visible, !iconic, $$0, CirculateHit) Close + I TestRc (Match) Break + I Next ($$0, CirculateHit) Function MakeVisible AddToFunc MakeVisible + I MoveToDesk + I MoveToPage + I MoveToScreen + I Raise + I Iconify off + I WindowShade off AddToFunc ToggleFvwmConsole + I ToggleWindow FvwmConsole "Module FvwmConsole" AddToFunc ToggleXMessages + I ToggleWindow XMessages "Function RunXMessages" etc. If that's not what you're looking for, please describe what you're trying to do in more detail. > I've tried several ways, I can seem to get the dual function action > right. Does anyone have some tips as to how i can do this? Ciao Dominik ^_^ ^_^ -- Dominik Vogt