-
Notifications
You must be signed in to change notification settings - Fork 20
Variables
fdev31 edited this page Apr 6, 2024
·
2 revisions
Some commands support shared global variables, they must be defined in the pyprland section of the configuration:
[pyprland.variables]
term = "foot"
term_classed = "foot -a" # kitty uses --class
If a plugin supports it, you can then use the variables in the attribute that supports it, eg:
[myplugin]
some_variable = "the terminal is [term]"