Hello,
everything is in the title.
I have this function in order to hide my dock :
[code]DestroyFunc LockingSlide
AddToFunc LockingSlide
- I Test (!State 2) Break
- I State 2 False
- I AnimatedMove $0 $1
- I State 2 True
*Side: (160x5, Action(Mouse 1) Next (CirculateHit, Side) PipeRead 'echo LockingSlide keep $$(test $$(($[w.height]+$[w.y])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'
)
[/code]
I have set EwmhBaseStruts 0 160 0 0. I would like to change this by EwmhBaseStruts 0 0 0 0 when the dock is hidden. How is it possible ? I’ve tried this without success :
Test (State 2 False) SetEnv OffsetMax 160
Test (State 2 True) SetEnv OffsetMax 0
EwmhBaseStruts 0 $[OffsetMax] 0 0
Any ideas ?
[color=red]Edited by theBlackDragon:
–> Moved from Basic questions[/color]