Multiple external_script with py3status

i3 window manager

I recently switched to py3status to populate my i3bar. I had several scripts I wanted to call that generate some output for the bar. Below is an example how this can be accomplished.

Raw
order += "external_script foo"                                                           
order += "external_script bar"

external_script foo {                                                                      
    format = "{output}"                                                                        
    script_path = "/path/to/foo tray"                              
    cache_timeout = 15                                                                       
}

external_script bar {                                                                      
    format = "{output}"                                                                        
    script_path = "/path/to/bar tray"                              
    cache_timeout = 15                                                                       
}

0 comments

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityFontGnuPGThunderbirdJenkins