FvwmButton that changes the value after pressing it

Thanks for the new function. I am using many value change buttons.

For PipeRead there is one topic with an example “if and else” in FvwmButtons.

Couldn’t get InfoStoreAdd to work but SetEnv does it.

SetEnv Switch OFF
Module FvwmPager TestPager

DestroyFunc StartPager
AddToFunc StartPager
+ I Piperead 'if [ $Switch = OFF ]; then echo "KillModule FvwmPager TestPager"; \
	echo "Schedule 500 SetEnv Switch ON"; fi'
+ I Piperead 'if [ $Switch = ON ]; then echo "Module FvwmPager TestPager"; \
	echo "SetEnv Switch OFF"; fi'
1 Like