enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 188 forks source link

Getting .Xresources values #638

Closed relaxeaza closed 6 years ago

relaxeaza commented 6 years ago

i3 config have set_from_resource, there is something similiar that I can use in python? I tried passing the variables from .i3/config when calling the .py bar with parameters but sems to not work.

bar {
    status_command i3pystatus -c ~/.i3/i3pystatus-top.py -color0 $color0
}
relaxeaza commented 6 years ago

nvm discovered https://pypi.org/project/xparser/