Skip to content

Writing variables to papirus #201

@plagergren

Description

@plagergren

I am writing some lua code that has the following where float is a floating point number:
floater = tostring(float)
os.execute(sudo paprius-textfill 'floater')

and this works fine except I want the value of floater to display not the word "floater"
I have tried a lot of different ways to do what I want including grep and all kinds of folderol. Nothing works so far. I get all kinds of different errors depending on which code du jour I am using.
How do I assign a value and print it to the papirus screen using textfill?
Actually, what I really want to do is to use screen.partial_update to refresh only part of the screen that has changed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions