LSAutoHideModules - Can it trigger other bangs? Thread last updated on 2003-11-30 05:11:16

Posted by member 2112 on 2003-11-13 00:54:24

I think the new LSAutoHideModules function in LS 0.24.7 is a great feature. But it would be even better if it could be used to perform other functions such as disabling hotspots. Does anyone know if this is possible?

Posted by member 7 on 2003-11-13 07:20:34 link

No it's not. A separate module could easily implement this though. All LSAutoHideModules can do is call !HideModules and !ShowModules.

Posted by member 182 on 2003-11-13 08:44:56 link

i have a hotkey bound to toggle all modules, and toggle my desktop area fullscreen.
*hotkey .none BLUE !execute [!toggle_fullscreen][!ToggleModules]'


note that 'BLUE' will most likely not do anything for you as a hotkey definition - that's a custom one for my keyboard. same with !toggle_fullscreen, which is a custom !bang in my theme.

just showing you what's possible :)

Posted by member 37809 on 2003-11-13 10:20:57 link

i too, define a theme-specific bang bound to a hotkey.
it !ToggleModules and resizes the desktop area for no reason at all. i don't even use this hotkey... anyway,

so there's no possibility of something like this?

OnAutoHideModules !doMyBidding
OnAutoShowModules !bleehaho

it could implicitly !hidemodules/!showmodules, or not.
it sounds like a good idea for hotspots, but i would have thought it would toggle ckhotspots..

Posted by member 1316 on 2003-11-13 13:26:20 link

well, I don't believe LSAutoShowModules even exists, only LSAutoHideModules. and definitely not OnAutoHideModules/OnAutoShowModules. unless if I'm mistaken. so, no, it won't work.

Posted by member 7223 on 2003-11-13 15:57:14 link

...it's up me!
I want litestep (not desktop2, since I'm using jdesk) to have a:
LSOnResolutionChange !bang

Posted by member 7 on 2003-11-29 15:17:02 link

Posted by member 7223 on 2003-11-30 05:11:16 link

Well done ilmcuts ! That's exactly what I asked for :D