Do you think variables in FvwmScript should be enhanced?
- Yes
- No
- Doesn’t matter
0 voters
FvwmScript is a very powerful tool, but it’s a little difficult to write flexible scripts. I think it will be much better if the variables in FvwmScript are more usable. For example, variables can’t be used to set properties of widgets and windows. The following codes won’t work.
WindowSize $width $height
...
Init
Begin
...
Set $width = 100
Set $height = 100
...
End
...
Widget 1
Property
...
Size $width $height
...
...
Because of this, we can’t create a dynamically sized window, we can’t specify colorsets, fonts by passing arguments to the scripts, etc., and this prevent us from creating configurable, reusable scripts.